반응형

BLOG main image






#include <list>

#include <hash_set>

#include <hash_map>


#include <boost/pool/object_pool.hpp>

#include <boost/pool/pool_alloc.hpp>



struct nodeInfo{


};




typedef stdext::hash_map<int, nodeInfo , stdext::hash_compare<int> , boost::fast_pool_allocator<int, boost::default_user_allocator_new_delete, boost::details::pool::null_mutex> > hashMapPoolNode;



typedef stdext::hash_set<int, stdext::hash_compare<int> , boost::fast_pool_allocator<int, boost::default_user_allocator_new_delete, boost::details::pool::null_mutex> > hashsetPoolNode;



typedef std::list<int, boost::fast_pool_allocator<int, boost::default_user_allocator_new_delete, boost::details::pool::null_mutex> > listPoolNode;





반응형

'메타프로그래밍 > Boost::' 카테고리의 다른 글

asin , acos, atan, asinh, acosh  (0) 2018.07.20
boost :: property_tree  (0) 2014.07.04
xml_parser.hpp, json_parser.hpp  (0) 2014.06.23
boost::intrusive_ptr  (0) 2013.05.13
boost::pool  (0) 2013.05.11

+ Recent posts