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

#include <compare.h>

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

Public Member Functions

constexpr operator partial_ordering () const noexcept
 
constexpr operator weak_equality () const noexcept
 

Private Member Functions

constexpr weak_ordering (compare_internal::eq v) noexcept
 
constexpr weak_ordering (compare_internal::ord v) noexcept
 

Private Attributes

compare_internal::value_type value_
 

Friends

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

Additional Inherited Members

- Static Public Attributes inherited from absl::compare_internal::weak_ordering_base< weak_ordering >
static ABSL_CONST_INIT const weak_ordering equivalent
 
static ABSL_CONST_INIT const weak_ordering greater
 
static ABSL_CONST_INIT const weak_ordering less
 

Detailed Description

Definition at line 296 of file compare.h.

Constructor & Destructor Documentation

◆ weak_ordering() [1/2]

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

Definition at line 298 of file compare.h.

◆ weak_ordering() [2/2]

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

Definition at line 300 of file compare.h.

Member Function Documentation

◆ operator partial_ordering()

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

Definition at line 310 of file compare.h.

◆ operator weak_equality()

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

Definition at line 306 of file compare.h.

Friends And Related Function Documentation

◆ compare_internal::weak_ordering_base< weak_ordering >

Definition at line 302 of file compare.h.

◆ operator!= [1/2]

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

Definition at line 320 of file compare.h.

◆ operator!= [2/2]

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

Definition at line 344 of file compare.h.

◆ operator< [1/2]

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

Definition at line 324 of file compare.h.

◆ operator< [2/2]

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

Definition at line 348 of file compare.h.

◆ operator<= [1/2]

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

Definition at line 328 of file compare.h.

◆ operator<= [2/2]

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

Definition at line 352 of file compare.h.

◆ operator== [1/2]

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

Definition at line 316 of file compare.h.

◆ operator== [2/2]

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

Definition at line 340 of file compare.h.

◆ operator> [1/2]

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

Definition at line 332 of file compare.h.

◆ operator> [2/2]

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

Definition at line 356 of file compare.h.

◆ operator>= [1/2]

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

Definition at line 336 of file compare.h.

◆ operator>= [2/2]

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

Definition at line 360 of file compare.h.

Member Data Documentation

◆ value_

compare_internal::value_type absl::weak_ordering::value_
private

Definition at line 366 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