issue_23.cpp 358 B

123456789101112131415161718
  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. #include <boost/ptr_container/ptr_vector.hpp>
  5. template<class T> struct Foo
  6. {
  7. static void test(boost::ptr_vector<Foo<T> >& /*t*/)
  8. {
  9. }
  10. };
  11. int main()
  12. {
  13. boost::ptr_vector<Foo<double> > ptr;
  14. return 0;
  15. }