|
BDE 4.39.x Production Release
|
#include <bslalg_bidirectionalnode.h>
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.
Public Types | |
| typedef VALUE | ValueType |
Public Member Functions | |
| ValueType & | value () |
| const ValueType & | value () const |
Public Member Functions inherited from bslalg::BidirectionalLink | |
| BidirectionalLink ()=default | |
| BidirectionalLink (const BidirectionalLink &original)=default | |
| ~BidirectionalLink ()=default | |
| BidirectionalLink & | operator= (const BidirectionalLink &rhs)=default |
| void | setNextLink (BidirectionalLink *next) |
| void | setPreviousLink (BidirectionalLink *previous) |
| void | reset () |
| BidirectionalLink * | nextLink () const |
| BidirectionalLink * | previousLink () const |
| typedef VALUE bslalg::BidirectionalNode< VALUE >::ValueType |
|
inline |
Return a reference providing modifiable access to the value held by this object.
|
inline |
Return a reference providing non-modifiable access to the value held by this object.