Quick Links:

bal | bbl | bdl | bsl

Public Member Functions | Public Attributes

bdlc::Queue< T >::InitialCapacity Struct Reference

#include <bdlc_queue.h>

List of all members.

Public Member Functions

 InitialCapacity (unsigned int i)
 ~InitialCapacity ()

Public Attributes

unsigned int d_i

Detailed Description

template<class T>
struct bdlc::Queue< T >::InitialCapacity

Enable uniform use of an optional integral constructor argument to specify the initial internal capacity (in elements). For example,

           Queue<unsigned int> x(Queue::InitialCapacity(8));

instantiates an object x with an initial capacity of 8 elements, but with a logical length of 0 elements.

See Component bdlc_queue


Constructor & Destructor Documentation

template<class T>
bdlc::Queue< T >::InitialCapacity::InitialCapacity ( unsigned int  i  )  [inline, explicit]
template<class T>
bdlc::Queue< T >::InitialCapacity::~InitialCapacity (  )  [inline]

Member Data Documentation

template<class T>
unsigned int bdlc::Queue< T >::InitialCapacity::d_i

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