std::move_iterator::operator*,->
From cppreference.com
< cpp | iterator | move iterator
reference operator* () const;
|
(1) | |
pointer operator->() const;
|
(2) | |
Returns a rvalue-reference or pointer to the current element.
1) Equivalent to std::move(*current);
|
(until C++17) |
1) Equivalent to static_cast<reference>(*current);
|
(since C++17) |
2) Equivalent to current.
Contents |
[edit] Parameters
(none)
[edit] Return value
Rvalue-reference or pointer to the current element.
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
accesses an element by index (public member function) |