3#ifndef TETL_COMPARE_STRONG_ORDERING_HPP
4#define TETL_COMPARE_STRONG_ORDERING_HPP
14struct strong_ordering {
15 static strong_ordering
const less;
16 static strong_ordering
const equal;
31 [[nodiscard]]
friend constexpr auto operator==(strong_ordering, strong_ordering)
noexcept ->
bool =
default;
90 : _value{
static_cast<int8_t>(v)}
Definition adjacent_find.hpp:8
TETL_BUILTIN_INT8 int8_t
Signed integer type with width of exactly 8 bits.
Definition int_t.hpp:11
decltype(nullptr) nullptr_t
etl::nullptr_t is the type of the null pointer literal, nullptr. It is a distinct type that is not it...
Definition nullptr_t.hpp:13
Definition partial_ordering.hpp:12
static partial_ordering const equivalent
Definition partial_ordering.hpp:14
static partial_ordering const greater
Definition partial_ordering.hpp:15
static partial_ordering const less
Definition partial_ordering.hpp:13
Definition strong_ordering.hpp:14
friend constexpr auto operator==(strong_ordering, strong_ordering) noexcept -> bool=default
friend constexpr auto operator<=(nullptr_t, strong_ordering v) noexcept -> bool
Definition strong_ordering.hpp:63
friend constexpr auto operator<=>(strong_ordering v, nullptr_t) noexcept -> strong_ordering
Definition strong_ordering.hpp:78
friend constexpr auto operator>=(nullptr_t, strong_ordering v) noexcept -> bool
Definition strong_ordering.hpp:73
static strong_ordering const less
Definition strong_ordering.hpp:15
friend constexpr auto operator<=>(nullptr_t, strong_ordering v) noexcept -> strong_ordering
Definition strong_ordering.hpp:83
friend constexpr auto operator<(strong_ordering v, nullptr_t) noexcept -> bool
Definition strong_ordering.hpp:38
static strong_ordering const greater
Definition strong_ordering.hpp:18
static strong_ordering const equivalent
Definition strong_ordering.hpp:17
static strong_ordering const equal
Definition strong_ordering.hpp:16
friend constexpr auto operator>(nullptr_t, strong_ordering v) noexcept -> bool
Definition strong_ordering.hpp:68
friend constexpr auto operator>(strong_ordering v, nullptr_t) noexcept -> bool
Definition strong_ordering.hpp:48
friend constexpr auto operator==(strong_ordering v, nullptr_t) noexcept -> bool
Definition strong_ordering.hpp:33
friend constexpr auto operator<(nullptr_t, strong_ordering v) noexcept -> bool
Definition strong_ordering.hpp:58
friend constexpr auto operator>=(strong_ordering v, nullptr_t) noexcept -> bool
Definition strong_ordering.hpp:53
friend constexpr auto operator<=(strong_ordering v, nullptr_t) noexcept -> bool
Definition strong_ordering.hpp:43
Definition weak_ordering.hpp:13
static weak_ordering const greater
Definition weak_ordering.hpp:17
static weak_ordering const equivalent
Definition weak_ordering.hpp:16
static weak_ordering const less
Definition weak_ordering.hpp:15