VectorIterator::operator+ Operator

Returns a VectorIterator that references the element at the specified displacement from the specified VectorIterator.

VectorIterator operator+(
   difference_type n) ;

template <
   typename T
>
inline VectorIterator<T> operator+(
   ptrdiff_t n,
   const VectorIterator<T>& i
);

T

In the second syntax, the typename of the VectorIterator.

n

An integer displacement.

i

In the second syntax, a VectorIterator.

In the first syntax, a VectorIterator that references the element at the specified displacement from the current VectorIterator.

In the second syntax, a VectorIterator that references the element at the specified displacement from the beginning of parameter i.

The first syntax example

Header: collection.h

Namespace: Platform::Collections

Other Resources

Platform Namespace
Show:
© 2014 Microsoft