...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::node_allocator_v1
// In header: <boost/interprocess/allocators/node_allocator.hpp> template<typename T, typename SegmentManager, std::size_t NodesPerBlock = 64> class node_allocator_v1 : public node_allocator_base< 1, T, SegmentManager, NodesPerBlock > { public: // types typedef unspecified base_t; // member classes/structs/unions template<typename T2> struct rebind { // types typedef node_allocator_v1< T2, SegmentManager, NodesPerBlock > other; }; // construct/copy/destruct node_allocator_v1(SegmentManager *); template<typename T2> node_allocator_v1(const node_allocator_v1< T2, SegmentManager, NodesPerBlock > &); };
node_allocator_v1
public
construct/copy/destructnode_allocator_v1(SegmentManager * segment_mngr);
template<typename T2> node_allocator_v1(const node_allocator_v1< T2, SegmentManager, NodesPerBlock > & other);