Namespaces
Variants
Views
Actions

std::move_iterator::operator[]

From cppreference.com
< cpp‎ | iterator‎ | move iterator
Revision as of 20:43, 31 May 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/*unspecified*/ operator[]( difference_type n ) const;
(since C++11)

Returns a reference to the element at specified relative location.

Contents

[edit] Parameters

n - position relative to current location.

[edit] Return value

A reference to the element at relative location, that is, current[n].

[edit] Examples

[edit] See also

accesses the pointed-to element
(public member function) [edit]