boost/libs/ptr_container/test/issue_23.cpp
2022-12-15 23:45:23 +08:00

19 lines
358 B
C++

// Use, modification and distribution is subject to the
// Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
#include <boost/ptr_container/ptr_vector.hpp>
template<class T> struct Foo
{
static void test(boost::ptr_vector<Foo<T> >& /*t*/)
{
}
};
int main()
{
boost::ptr_vector<Foo<double> > ptr;
return 0;
}