backInserter overloads

Synopses

Declared in <bdlat_arrayiterators.h>

Return a BackInsertIterator (of the appropriate type) to manipulate the specified array.

Specialization of backInserter for bsl::vector. Return bsl::back_insert_iterator instead of BackInsertIterator.

template<
    class TYPE,
    class ALLOC>
bsl::back_insert_iterator<bsl::vector<TYPE, ALLOC>>
backInserter(bsl::vector<TYPE, ALLOC>* array);

Return Value

  • back‐insertion iterator that appends to array

  • bsl::back_insert_iterator that appends to array

Parameters

Name

Description

array

array to which the returned iterator appends elements

Created with MrDocs