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

#include <weak_ordering.hpp>

Public Member Functions

constexpr operator partial_ordering () const noexcept
 

Static Public Attributes

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

Friends

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

Member Function Documentation

◆ operator partial_ordering()

operator partial_ordering ( ) const
inlineconstexprnoexcept

Friends And Related Symbol Documentation

◆ operator< [1/2]

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

◆ operator< [2/2]

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

◆ operator<= [1/2]

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

◆ operator<= [2/2]

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

◆ operator<=> [1/2]

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

◆ operator<=> [2/2]

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

◆ operator== [1/2]

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

◆ operator== [2/2]

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

◆ operator> [1/2]

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

◆ operator> [2/2]

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

◆ operator>= [1/2]

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

◆ operator>= [2/2]

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

Member Data Documentation

◆ equivalent

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

◆ greater

weak_ordering greater {detail::order_result::greater}
inlinestaticconstexpr

◆ less

weak_ordering less {detail::order_result::less}
inlinestaticconstexpr

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