cpp/iterator/counted iterator/iter move

Casts the result of dereferencing the underlying iterator to its associated rvalue reference type. The behavior is undefined if is equal to.

The function body is equivalent to.

Return value
An rvalue reference or a prvalue temporary.

Complexity
Constant.