Create a node‐pool that uses the specified allocator.

Synopsis

Declared in <bslstl_bidirectionalnodepool.h>

explicit
BidirectionalNodePool(ALLOCATOR const& allocator);

Description

Create a BidirectionalNodePool object that will use the specified allocator to supply memory for allocated node objects. If the (template parameter) ALLOCATOR is bsl::allocator, then allocator shall be convertible to bslma::Allocator *.

Parameters

Name

Description

allocator

allocator used to supply memory for node objects

Created with MrDocs