map_index_allocation_test.cpp 834 B

12345678910111213141516171819202122232425
  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // (C) Copyright Ion Gaztanaga 2006-2012. Distributed under the Boost
  4. // Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org/libs/interprocess for documentation.
  8. //
  9. //////////////////////////////////////////////////////////////////////////////
  10. #define BOOST_CONTAINER_ADAPTIVE_NODE_POOL_CHECK_INVARIANTS
  11. #include <boost/interprocess/detail/config_begin.hpp>
  12. #include <boost/interprocess/indexes/map_index.hpp>
  13. #include "named_allocation_test_template.hpp"
  14. int main ()
  15. {
  16. using namespace boost::interprocess;
  17. if(!test::test_named_allocation<map_index>()){
  18. return 1;
  19. }
  20. return 0;
  21. }
  22. #include <boost/interprocess/detail/config_end.hpp>