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()

constexpr operator partial_ordering ( ) const
inlineconstexprnoexcept

◆ operator weak_ordering()

constexpr operator weak_ordering ( ) const
inlineconstexprnoexcept

Friends And Related Symbol Documentation

◆ operator< [1/2]

◆ operator< [2/2]

◆ operator<= [1/2]

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

◆ operator<= [2/2]

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

◆ operator<=> [1/2]

◆ operator<=> [2/2]

◆ operator== [1/2]

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

◆ operator== [2/2]

◆ operator> [1/2]

◆ operator> [2/2]

◆ operator>= [1/2]

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

◆ operator>= [2/2]

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

Member Data Documentation

◆ equal

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

◆ equivalent

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

◆ greater

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

◆ less

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

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