Constructors

Synopses

Declared in <bdlcc_deque.h>

Create an empty container with no high‐water mark.

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

Create an empty container using clockType for timed operations.

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

Create an empty container with the specified highWaterMark.

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

Create a container having the same value as original.

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

Create an empty container with highWaterMark and clockType.

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

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

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

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);

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);

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);

Parameters

Name

Description

basicAllocator

allocator used to supply memory

clockType

clock type for timed wait operations

highWaterMark

maximum number of items before pushes block

original

container to copy

begin

beginning of the input range

end

end of the input range

Created with MrDocs