BloombergLP::bslalg::DequePrimitives_DequeElementGuard::moveEnd

Move the end iterator by the specified offset.

Synopsis

Declared in <bslalg_dequeprimitives.h>

DequePrimitives_DequeElementGuard<VALUE_TYPE, BLOCK_LENGTH, ALLOCATOR>::Iterator&
moveEnd(std::ptrdiff_t offset = 1);

Description

Move the end pointer by the specified offset, and return the new end pointer.

Return Value

the new end iterator after applying offset

Parameters

NameDescription
offsetsigned displacement applied to the end iterator