Windows Dev Center

VectorIterator::operator++ Operator

Increments the current VectorIterator.

VectorIterator& operator++();
VectorIterator operator++(
   int
);

The first syntax increments and then returns the current VectorIterator. The second syntax returns a copy of the current VectorIterator and then increments the current VectorIterator.

The first VectorIterator syntax pre-increments the current VectorIterator.

The second syntax post-increments the current VectorIterator. The int type in the second syntax indicates a post-increment operation, not an actual integer operand.

Header: collection.h

Namespace: Platform::Collections

Show:
© 2015 Microsoft