Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
absl::partial_ordering Class Reference

#include <compare.h>

Inheritance diagram for absl::partial_ordering:
Inheritance graph
[legend]

Public Member Functions

constexpr operator weak_equality () const noexcept
 

Private Member Functions

constexpr bool is_ordered () const noexcept
 
constexpr partial_ordering (compare_internal::eq v) noexcept
 
constexpr partial_ordering (compare_internal::ord v) noexcept
 
constexpr partial_ordering (compare_internal::ncmp v) noexcept
 

Private Attributes

compare_internal::value_type value_
 

Friends

struct compare_internal::partial_ordering_base< partial_ordering >
 
constexpr bool operator!= (partial_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator!= (compare_internal::OnlyLiteralZero<>, partial_ordering v) noexcept
 
constexpr bool operator< (partial_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator< (compare_internal::OnlyLiteralZero<>, partial_ordering v) noexcept
 
constexpr bool operator<= (partial_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator<= (compare_internal::OnlyLiteralZero<>, partial_ordering v) noexcept
 
constexpr bool operator== (partial_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator== (compare_internal::OnlyLiteralZero<>, partial_ordering v) noexcept
 
constexpr bool operator> (partial_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator> (compare_internal::OnlyLiteralZero<>, partial_ordering v) noexcept
 
constexpr bool operator>= (partial_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator>= (compare_internal::OnlyLiteralZero<>, partial_ordering v) noexcept
 

Additional Inherited Members

- Static Public Attributes inherited from absl::compare_internal::partial_ordering_base< partial_ordering >
static ABSL_CONST_INIT const partial_ordering equivalent
 
static ABSL_CONST_INIT const partial_ordering greater
 
static ABSL_CONST_INIT const partial_ordering less
 
static ABSL_CONST_INIT const partial_ordering unordered
 

Detailed Description

Definition at line 221 of file compare.h.

Constructor & Destructor Documentation

◆ partial_ordering() [1/3]

constexpr absl::partial_ordering::partial_ordering ( compare_internal::eq  v)
inlineexplicitprivatenoexcept

Definition at line 223 of file compare.h.

◆ partial_ordering() [2/3]

constexpr absl::partial_ordering::partial_ordering ( compare_internal::ord  v)
inlineexplicitprivatenoexcept

Definition at line 225 of file compare.h.

◆ partial_ordering() [3/3]

constexpr absl::partial_ordering::partial_ordering ( compare_internal::ncmp  v)
inlineexplicitprivatenoexcept

Definition at line 227 of file compare.h.

Member Function Documentation

◆ is_ordered()

constexpr bool absl::partial_ordering::is_ordered ( ) const
inlineprivatenoexcept

Definition at line 231 of file compare.h.

◆ operator weak_equality()

constexpr absl::partial_ordering::operator weak_equality ( ) const
inlinenoexcept

Definition at line 238 of file compare.h.

Friends And Related Function Documentation

◆ compare_internal::partial_ordering_base< partial_ordering >

Definition at line 229 of file compare.h.

◆ operator!= [1/2]

constexpr bool operator!= ( partial_ordering  v,
compare_internal::OnlyLiteralZero<>   
)
friend

Definition at line 247 of file compare.h.

◆ operator!= [2/2]

constexpr bool operator!= ( compare_internal::OnlyLiteralZero<>  ,
partial_ordering  v 
)
friend

Definition at line 271 of file compare.h.

◆ operator< [1/2]

constexpr bool operator< ( partial_ordering  v,
compare_internal::OnlyLiteralZero<>   
)
friend

Definition at line 251 of file compare.h.

◆ operator< [2/2]

constexpr bool operator< ( compare_internal::OnlyLiteralZero<>  ,
partial_ordering  v 
)
friend

Definition at line 275 of file compare.h.

◆ operator<= [1/2]

constexpr bool operator<= ( partial_ordering  v,
compare_internal::OnlyLiteralZero<>   
)
friend

Definition at line 255 of file compare.h.

◆ operator<= [2/2]

constexpr bool operator<= ( compare_internal::OnlyLiteralZero<>  ,
partial_ordering  v 
)
friend

Definition at line 279 of file compare.h.

◆ operator== [1/2]

constexpr bool operator== ( partial_ordering  v,
compare_internal::OnlyLiteralZero<>   
)
friend

Definition at line 243 of file compare.h.

◆ operator== [2/2]

constexpr bool operator== ( compare_internal::OnlyLiteralZero<>  ,
partial_ordering  v 
)
friend

Definition at line 267 of file compare.h.

◆ operator> [1/2]

constexpr bool operator> ( partial_ordering  v,
compare_internal::OnlyLiteralZero<>   
)
friend

Definition at line 259 of file compare.h.

◆ operator> [2/2]

constexpr bool operator> ( compare_internal::OnlyLiteralZero<>  ,
partial_ordering  v 
)
friend

Definition at line 283 of file compare.h.

◆ operator>= [1/2]

constexpr bool operator>= ( partial_ordering  v,
compare_internal::OnlyLiteralZero<>   
)
friend

Definition at line 263 of file compare.h.

◆ operator>= [2/2]

constexpr bool operator>= ( compare_internal::OnlyLiteralZero<>  ,
partial_ordering  v 
)
friend

Definition at line 287 of file compare.h.

Member Data Documentation

◆ value_

compare_internal::value_type absl::partial_ordering::value_
private

Definition at line 293 of file compare.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22