move_sentinel

namespace opentl {
    template <typename S>
    class move_sentinel;
}

A sentinel that marks the end of a sequence of move iterators.

Declared in <iterator/move_sentinel.hpp>.

Template Parameters

Name Description
S The sentinel type.

Member Types

Type Description
sentinel_type The sentinel type.

Member Functions

Name Return Type Description
move_sentinel()   move_sentinel constructor.
move_sentinel(sentinel_type)   move_sentinel constructor.
base() sentinel_type Returns the underlying sentinel.

Non-member Functions

Name Return Type Description
operator==(lhs, rhs) bool Compares a move iterator and a move sentinel for equality.
operator==(lhs, rhs) bool Compares a move sentinel and a move iterator for equality.