This POD‐like class describes a node suitable for use in a doubly‐linked list of values of the template parameter type VALUE. This class is a "POD‐like" to facilitate efficient allocation and use in the context of a container implementation. In order to meet the essential requirements of a POD type, this class does not define a constructor or destructor. The manipulator, value, returns a modifiable reference to d_value so that it may be constructed in‐place by the appropriate bsl::allocator_traits object.
Synopsis
Declared in <bslalg_bidirectionalnode.h>
template<class VALUE>
class BidirectionalNode
: public bslalg::BidirectionalLink
Base Classes
Name |
Description |
This POD‐like |
Type Aliases
Name |
Description |
Payload type stored in this node. |
Member Functions
Name |
Description |
Return the address of the next node linked from this node. |
|
Return the address of the preceding node linked from this node. |
|
Set the |
|
Set the successor of this node to be the specified |
|
Set the predecessor of this node to be the specified |
|
|
Created with MrDocs