adaptive_node_pool_test.cpp

来自「Boost provides free peer-reviewed portab」· C++ 代码 · 共 33 行

CPP
33
字号
////////////////////////////////////////////////////////////////////////////////// (C) Copyright Ion Gaztanaga 2007. 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/interprocess for documentation.////////////////////////////////////////////////////////////////////////////////#include <boost/interprocess/detail/config_begin.hpp>#include "node_pool_test.hpp"#include <boost/interprocess/allocators/detail/adaptive_node_pool.hpp>#include <vector>using namespace boost::interprocess;typedef managed_shared_memory::segment_manager segment_manager_t;//Explicit specialization to catch compilation errorstemplate class detail::private_adaptive_node_pool_impl<segment_manager_t>;int main (){   typedef detail::private_adaptive_node_pool      <segment_manager_t, 4, 64, 64, 5> node_pool_t;   if(!test::test_all_node_pool<node_pool_t>())      return 1;   return 0;}#include <boost/interprocess/detail/config_end.hpp>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?