다음을 통해 공유


move_iterator::operator*

Dereferences the stored iterator and returns the value. This behaves like an rvalue reference and performs a move assignment. The operator transfers the current element out of the base iterator. The element that follows becomes the new current element.

reference operator*() const;

속성 값/반환 값

Returns the current element in the manner of an rvalue reference where the element is moved out of the base iterator.

설명

The operator returns (reference)*base().

요구 사항

헤더: <iterator>

네임스페이스: std

참고 항목

참조

move_iterator::reference

move_iterator 클래스

<iterator>

Lvalue 및 Rvalue

표준 템플릿 라이브러리

기타 리소스

move_iterator 멤버

<iterator> 멤버