This class provides methods for creating and destroying nodes using the appropriate allocator‐traits of the (template parameter) type ALLOCATOR.
Synopsis
Declared in <bslstl_bidirectionalnodepool.h>
template<
class VALUE,
class ALLOCATOR>
class BidirectionalNodePool;
Type Aliases
Name |
Description |
Alias for the allocator type defined by |
|
Alias for the |
Member Functions
Name |
Description |
|
Constructors |
Adopt all outstanding allocations from the specified |
|
|
|
Allocate a node and copy‐construct its |
|
Destroy |
|
Allocate a node and construct its |
|
Allocate a node and move‐construct its |
|
Relinquish all memory currently allocated with the memory pool maintained by this object. |
|
Reserve memory for at least the specified |
|
Exchange this pool's nodes and allocator with those of |
|
Exchange this pool's nodes with those of |