BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslalg::BidirectionalNode< VALUE > Class Template Reference

#include <bslalg_bidirectionalnode.h>

Inheritance diagram for bslalg::BidirectionalNode< VALUE >:
bslalg::BidirectionalLink

Public Types

typedef VALUE ValueType
 

Public Member Functions

ValueTypevalue ()
 
const ValueTypevalue () const
 

Detailed Description

template<class VALUE>
class bslalg::BidirectionalNode< VALUE >

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.

See bslalg_bidirectionalnode

Member Typedef Documentation

◆ ValueType

template<class VALUE >
typedef VALUE bslalg::BidirectionalNode< VALUE >::ValueType

Member Function Documentation

◆ value() [1/2]

template<class VALUE >
VALUE & bslalg::BidirectionalNode< VALUE >::value ( )
inline

Return a reference providing modifiable access to the value held by this object.

◆ value() [2/2]

template<class VALUE >
const VALUE & bslalg::BidirectionalNode< VALUE >::value ( ) const
inline

Return a reference providing non-modifiable access to the value held by this object.


The documentation for this class was generated from the following file: