////////////////////////////////////////////////////////////////////////////// // // (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::set; template class ::boost::container::multiset; volatile ::boost::container::set dummy; volatile ::boost::container::multiset dummy2; #include #include #include "movable_int.hpp" #include "dummy_test_allocator.hpp" namespace boost { namespace container { //Explicit instantiation to detect compilation errors //set template class set < test::movable_and_copyable_int , std::less , test::simple_allocator >; //multiset template class multiset < test::movable_and_copyable_int , std::less , adaptive_pool >; }} //boost::container int main() { return 0; }