default_sentinel_t

namespace opentl {
    struct default_sentinel_t {
        explicit default_sentinel_t() = default;

        friend constexpr bool operator==(const default_sentinel_t& lhs, const default_sentinel_t& rhs) = default;
    };

    inline constexpr default_sentinel_t default_sentinel;
}

Tag type used to mark the end of an iteration.

Declared in <iterator/default_sentinel_t.hpp>.

Member Functions

Name Return Type Description
default_sentinel_t() — Default constructor.

Non-member Functions

Name Return Type Description
operator==(lhs, rhs) bool Compares two default sentinels for equality.

Constants

Name Type Description
default_sentinel default_sentinel_t Tag used to mark the end of an iteration.