Namespaces
Variants
Views
Actions

std::move_iterator::operator*,->

From cppreference.com
< cpp‎ | iterator‎ | move iterator
Revision as of 14:34, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dcl ">

<td >
reference operator* () const;
</td>

<td > (1) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td >
pointer   operator->() const;
</td>

<td > (2) </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

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

Template:cpp/iterator/adaptor/dcl list operator at