uninitializedFillNFront overloads
Synopses
Declared in <bslalg_dequeprimitives.h>
Prepend copies of a value to the front of an uninitialized deque range.
template<class ALLOCATOR>
static
void
uninitializedFillNFront(
Iterator* toBegin,
Iterator fromBegin,
size_type numElements,
VALUE_TYPE const& value,
ALLOCATOR allocator);
Same as the preceding uninitializedFillNFront overload (nil traits).
template<class ALLOCATOR>
static
void
uninitializedFillNFront(
Iterator* toBegin,
Iterator fromBegin,
size_type numElements,
VALUE_TYPE const& value,
ALLOCATOR allocator,
bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS> traits);
Same as the preceding uninitializedFillNFront overload (non‐nil traits).
template<class ALLOCATOR>
static
void
uninitializedFillNFront(
Iterator* toBegin,
Iterator fromBegin,
size_type numElements,
VALUE_TYPE const& value,
ALLOCATOR allocator,
bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NON_NIL_TRAITS> traits);
Parameters
Name |
Description |
toBegin |
loads the beginning iterator after prepending |
fromBegin |
current beginning of the deque |
numElements |
number of copies of |
value |
value copied into each prepended element |
allocator |
allocator passed to element constructors |
traits |
unused trait tag for overload resolution |
Created with MrDocs