Namespaces
Variants
Views
Actions

std::move_iterator::operator*,->

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
reference operator* () const;
(1)
pointer   operator->() const;
(2)

Returns a rvalue-reference or pointer to the current element.

1) Equivalent to std::move(*current);
2) Equivalent to current.

Contents

[edit] Parameters

(none)

[edit] Return value

Rvalue-reference or pointer to the current element.

[edit] Example

[edit] See also

accesses an element by index
(public member function) [edit]