BloombergLP::bdlb::operator++

Increment operators

Synopses

Declared in <bdlb_functionoutputiterator.h>

Do nothing and return the specified iterator.

template<class FUNCTION>
FunctionOutputIterator<FUNCTION>&
operator++(FunctionOutputIterator<FUNCTION>& iterator);
» more...

Advance object to the next token and return a copy of its prior value.

bdlb::TokenizerIterator const
operator++(
    TokenizerIterator& object,
    int postfix);
» more...

Do nothing and return a copy of the specified iterator.

template<class FUNCTION>
FunctionOutputIterator<FUNCTION>
operator++(
    FunctionOutputIterator<FUNCTION>& iterator,
    int postfix);
» more...

Increment iterator and return a copy of its previous value.

template<
    class FUNCTOR,
    class ITERATOR>
bdlb::TransformIterator<FUNCTOR, ITERATOR>
operator++(
    TransformIterator<FUNCTOR, ITERATOR>& iterator,
    int postfix);
» more...

Return Value

  • a reference to iterator
  • copy of object prior to advancing
  • a copy of iterator
  • a copy of iterator before the increment

Parameters

NameDescription
iteratoriterator returned unchanged
objectiterator to advance
postfixunused parameter distinguishing the postfix operator