Namespaces
Variants
Views
Actions

std::move_iterator::operator*,->

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

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

Parameters

(none)

Return value

Rvalue-reference or pointer to the current element.

Example

See also

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