cpp/iterator/move iterator/iter move

Casts the result of dereferencing the underlying iterator to its associated rvalue reference type.

The function body is equivalent to:.

Return value
An rvalue reference or a prvalue temporary.

Complexity
Constant.