• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //////////////////////////////////////////////////////////////////////////////
2 //
3 // (C) Copyright Ion Gaztanaga 2007-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 "node_pool_test.hpp"
12 #include <boost/interprocess/allocators/detail/adaptive_node_pool.hpp>
13 #include <vector>
14 
15 using namespace boost::interprocess;
16 typedef managed_shared_memory::segment_manager segment_manager_t;
17 
main()18 int main ()
19 {
20    typedef ipcdetail::private_adaptive_node_pool
21       <segment_manager_t, 4, 64, 64, 5> node_pool_t;
22 
23    if(!test::test_all_node_pool<node_pool_t>())
24       return 1;
25 
26    return 0;
27 }
28