BloombergLP::bslstl::BidirectionalNodePool::BidirectionalNodePool

Constructors

Synopses

Declared in <bslstl_bidirectionalnodepool.h>

Create a bidirectional node-pool, adopting all outstanding memory allocations associated with the specified original node-pool, that will use the allocator associated with original to supply memory for allocated node objects. original is left in a valid but unspecified state.

BidirectionalNodePool(bslmf::MovableRef<BidirectionalNodePool> original);
» more...

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 *.

explicit
BidirectionalNodePool(ALLOCATOR const& allocator);
» more...