BloombergLP::bslalg::DequeIterator::DequeIterator

Create an iterator to an element within a specified block.

Synopsis

Declared in <bslalg_dequeiterator.h>

DequeIterator(
    BlockPtr* blockPtrPtr,
    VALUE_TYPE* valuePtr);

Description

Create an iterator pointing to the element at the specified valuePtr address in the block pointed to by the specified blockPtrPtr. The behavior is undefined unless valuePtr points into the block *blockPtrPtr.

Parameters

NameDescription
blockPtrPtraddress of the block pointer for the element's block
valuePtraddress of the element within that block