BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlc::Queue< T >::InitialCapacity Struct Reference

#include <bdlc_queue.h>

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,

Definition bdlc_queue.h:273
Definition bdlc_queue.h:295

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

Constructor & Destructor Documentation

◆ InitialCapacity()

template<class T >
bdlc::Queue< T >::InitialCapacity::InitialCapacity ( unsigned int  i)
inlineexplicit

◆ ~InitialCapacity()

template<class T >
bdlc::Queue< T >::InitialCapacity::~InitialCapacity ( )
inline

Member Data Documentation

◆ d_i

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

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