BloombergLP::bdlcc::Deque::Deque

Constructors

Synopses

Declared in <bdlcc_deque.h>

Create an empty container with no high-water mark.

explicit
Deque(bslma::Allocator* basicAllocator = 0);
» more...

Create an empty container using clockType for timed operations.

explicit
Deque(
    bsls::SystemClockType::Enum clockType,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an empty container with the specified highWaterMark.

explicit
Deque(
    std::size_t highWaterMark,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a container having the same value as original.

Deque(
    Deque<TYPE> const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an empty container with highWaterMark and clockType.

Deque(
    std::size_t highWaterMark,
    bsls::SystemClockType::Enum clockType,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a container containing the elements in [begin .. end)].

template<class INPUT_ITER>
Deque(
    INPUT_ITER begin,
    INPUT_ITER end,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a container from [begin .. end)] using clockType.

template<class INPUT_ITER>
Deque(
    INPUT_ITER begin,
    INPUT_ITER end,
    bsls::SystemClockType::Enum clockType,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a container from [begin .. end)] with highWaterMark.

template<class INPUT_ITER>
Deque(
    INPUT_ITER begin,
    INPUT_ITER end,
    std::size_t highWaterMark,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a container from [begin .. end)] with mark and clock.

template<class INPUT_ITER>
Deque(
    INPUT_ITER begin,
    INPUT_ITER end,
    std::size_t highWaterMark,
    bsls::SystemClockType::Enum clockType,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatorallocator used to supply memory
clockTypeclock type for timed wait operations
highWaterMarkmaximum number of items before pushes block
originalcontainer to copy
beginbeginning of the input range
endend of the input range