diff --git a/proj/vc7ide/explicit_inst_small_vector_test.vcproj b/proj/vc7ide/explicit_inst_small_vector_test.vcproj new file mode 100644 index 0000000..51e9cbf --- /dev/null +++ b/proj/vc7ide/explicit_inst_small_vector_test.vcproj @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/explicit_inst_small_vector_test.cpp b/test/explicit_inst_small_vector_test.cpp new file mode 100644 index 0000000..65d9815 --- /dev/null +++ b/test/explicit_inst_small_vector_test.cpp @@ -0,0 +1,26 @@ +////////////////////////////////////////////////////////////////////////////// +// +// (C) Copyright Ion Gaztanaga 2015-2015. Distributed under the Boost +// Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// See http://www.boost.org/libs/container for documentation. +// +////////////////////////////////////////////////////////////////////////////// + +#include + +struct empty +{ + friend bool operator == (const empty &, const empty &){ return true; } + friend bool operator < (const empty &, const empty &){ return true; } +}; + +template class ::boost::container::small_vector; + +int main() +{ + ::boost::container::small_vector dummy; + (void)dummy; + return 0; +}