Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class template private_node_allocator_v1

boost::private_node_allocator_v1

Synopsis

// In header: <boost/interprocess/allocators/private_node_allocator.hpp>

template<typename T, typename SegmentManager, std::size_t NodesPerBlock = 64> 
class private_node_allocator_v1 :
  public private_node_allocator_base< 1, T, SegmentManager, NodesPerBlock >
{
public:
  // types
  typedef unspecified base_t;

  // member classes/structs/unions
  template<typename T2> 
  struct rebind {
    // types
    typedef private_node_allocator_v1< T2, SegmentManager, NodesPerBlock > other;
  };

  // construct/copy/destruct
  private_node_allocator_v1(SegmentManager *);
  template<typename T2> 
    private_node_allocator_v1(const private_node_allocator_v1< T2, SegmentManager, NodesPerBlock > &);
};

Description

private_node_allocator_v1 public construct/copy/destruct

  1. private_node_allocator_v1(SegmentManager * segment_mngr);
  2. template<typename T2> 
      private_node_allocator_v1(const private_node_allocator_v1< T2, SegmentManager, NodesPerBlock > & other);

PrevUpHomeNext