std::move_iterator::operator*,->

From cppreference.com
(1)
reference operator* () const;
(until C++17)
constexpr reference operator* () const;
(since C++17)
(2)
pointer operator->() const;
(until C++17)
constexpr pointer operator->() const;
(since C++17)

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.

Parameters

(none)

Return value

Rvalue-reference or pointer to the current element.

Example

See also

accesses an element by index
(public member function)