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 7 template<class T> struct Foo 8 { testFoo9 static void test(boost::ptr_vector<Foo<T> >& /*t*/) 10 { 11 } 12 }; 13 main()14int main() 15 { 16 boost::ptr_vector<Foo<double> > ptr; 17 return 0; 18 } 19