Quick Links: |
#include <bdlat_arrayiterators.h>
Classes | |
struct | ValueSetter |
Public Types | |
typedef bsl::output_iterator_tag | iterator_category |
typedef bdlat_ArrayFunctions::ElementType < TYPE >::Type | value_type |
typedef void | difference_type |
typedef void | pointer |
typedef void | reference |
Public Member Functions | |
BackInsertIterator (TYPE *array) | |
BackInsertIterator & | operator= (const BackInsertIterator &rhs) |
template<class ELEM_TYPE > | |
BackInsertIterator & | operator= (const ELEM_TYPE &obj) |
BackInsertIterator & | operator* () |
BackInsertIterator & | operator++ () |
BackInsertIterator | operator++ (int) |
TBD doc
See Component bdlat_arrayiterators
typedef bsl::output_iterator_tag bdlat_ArrayIterators::BackInsertIterator< TYPE >::iterator_category |
typedef bdlat_ArrayFunctions::ElementType<TYPE>::Type bdlat_ArrayIterators::BackInsertIterator< TYPE >::value_type |
typedef void bdlat_ArrayIterators::BackInsertIterator< TYPE >::difference_type |
typedef void bdlat_ArrayIterators::BackInsertIterator< TYPE >::pointer |
typedef void bdlat_ArrayIterators::BackInsertIterator< TYPE >::reference |
bdlat_ArrayIterators::BackInsertIterator< TYPE >::BackInsertIterator | ( | TYPE * | array | ) |
Construct a back-insertion iterator to manipulate the specified array
.
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator= | ( | const BackInsertIterator< TYPE > & | rhs | ) |
Assign this iterator the value of the specified rhs
.
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator= | ( | const ELEM_TYPE & | obj | ) |
Append the specified obj
to the end of the array manipulated by this iterator and return this iterator.
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator* | ( | ) |
Do nothing and return a reference to this modifiable iterator. This function is used in generic algorithms that use the expression *i++ = v
or *++i = v
.
BackInsertIterator& bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator++ | ( | ) |
Do nothing and return a reference to this modifiable iterator. This function is used in generic algorithms that use the expression *++i = v
BackInsertIterator bdlat_ArrayIterators::BackInsertIterator< TYPE >::operator++ | ( | int | ) |
Do nothing and return a copy of this iterator. This function is used in generic algorithms that use the expression *i++ = v