VectorIterator::operator+ Operator

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

Requirements

Header: collection.h

Namespace: Platform::Collections

(NOTINBUILD) Platform Namespace

Show:
© 2017 Microsoft