1// Use, modification and distribution is subject to the
2// Boost Software License, Version 1.0.
3// http://www.boost.org/LICENSE_1_0.txt
4
5#include <boost/ptr_container/ptr_vector.hpp>
6
7template<class T> struct Foo
8{
9 static void test(boost::ptr_vector<Foo<T> >& /*t*/)
10 {
11 }
12};
13
14int main()
15{
16 boost::ptr_vector<Foo<double> > ptr;
17 return 0;
18}
19

source code of boost/libs/ptr_container/test/issue_23.cpp