tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
strong_ordering Struct Reference

#include <strong_ordering.hpp>

Public Member Functions

constexpr operator partial_ordering () const noexcept
 
constexpr operator weak_ordering () const noexcept
 

Static Public Attributes

static strong_ordering const equal {detail::order_result::equal}
 
static strong_ordering const equivalent {detail::order_result::equal}
 
static strong_ordering const greater {detail::order_result::greater}
 
static strong_ordering const less {detail::order_result::less}
 

Friends

constexpr auto operator< (nullptr_t, strong_ordering v) noexcept -> bool
 
constexpr auto operator< (strong_ordering v, nullptr_t) noexcept -> bool
 
constexpr auto operator<= (nullptr_t, strong_ordering v) noexcept -> bool
 
constexpr auto operator<= (strong_ordering v, nullptr_t) noexcept -> bool
 
constexpr auto operator<=> (nullptr_t, strong_ordering v) noexcept -> strong_ordering
 
constexpr auto operator<=> (strong_ordering v, nullptr_t) noexcept -> strong_ordering
 
constexpr auto operator== (strong_ordering v, nullptr_t) noexcept -> bool
 
constexpr auto operator== (strong_ordering, strong_ordering) noexcept -> bool=default
 
constexpr auto operator> (nullptr_t, strong_ordering v) noexcept -> bool
 
constexpr auto operator> (strong_ordering v, nullptr_t) noexcept -> bool
 
constexpr auto operator>= (nullptr_t, strong_ordering v) noexcept -> bool
 
constexpr auto operator>= (strong_ordering v, nullptr_t) noexcept -> bool
 

Member Function Documentation

◆ operator partial_ordering()

operator partial_ordering ( ) const
inlinenodiscardconstexprnoexcept

◆ operator weak_ordering()

operator weak_ordering ( ) const
inlinenodiscardconstexprnoexcept

Friends And Related Symbol Documentation

◆ operator< [1/2]

auto operator< ( nullptr_t ,
strong_ordering v ) -> bool
friend

◆ operator< [2/2]

auto operator< ( strong_ordering v,
nullptr_t  ) -> bool
friend

◆ operator<= [1/2]

auto operator<= ( nullptr_t ,
strong_ordering v ) -> bool
friend

◆ operator<= [2/2]

auto operator<= ( strong_ordering v,
nullptr_t  ) -> bool
friend

◆ operator<=> [1/2]

auto operator<=> ( nullptr_t ,
strong_ordering v ) -> strong_ordering
friend

◆ operator<=> [2/2]

auto operator<=> ( strong_ordering v,
nullptr_t  ) -> strong_ordering
friend

◆ operator== [1/2]

auto operator== ( strong_ordering v,
nullptr_t  ) -> bool
friend

◆ operator== [2/2]

auto operator== ( strong_ordering ,
strong_ordering  ) -> bool=default
friend

◆ operator> [1/2]

auto operator> ( nullptr_t ,
strong_ordering v ) -> bool
friend

◆ operator> [2/2]

auto operator> ( strong_ordering v,
nullptr_t  ) -> bool
friend

◆ operator>= [1/2]

auto operator>= ( nullptr_t ,
strong_ordering v ) -> bool
friend

◆ operator>= [2/2]

auto operator>= ( strong_ordering v,
nullptr_t  ) -> bool
friend

Member Data Documentation

◆ equal

strong_ordering equal {detail::order_result::equal}
inlinestaticconstexpr

◆ equivalent

strong_ordering equivalent {detail::order_result::equal}
inlinestaticconstexpr

◆ greater

strong_ordering greater {detail::order_result::greater}
inlinestaticconstexpr

◆ less

strong_ordering less {detail::order_result::less}
inlinestaticconstexpr

The documentation for this struct was generated from the following file: