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