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

#include <compare.h>

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

Public Member Functions

 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, equal)
 
 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, equal)
 
 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, equivalent)
 
 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, equivalent)
 
 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, greater)
 
 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, greater)
 
 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, less)
 
 ABSL_COMPARE_INLINE_SUBCLASS_DECL (strong_ordering, less)
 
constexpr operator partial_ordering () const noexcept
 
constexpr operator partial_ordering () const noexcept
 
constexpr operator strong_equality () const noexcept
 
constexpr operator strong_equality () const noexcept
 
constexpr operator weak_equality () const noexcept
 
constexpr operator weak_equality () const noexcept
 
constexpr operator weak_ordering () const noexcept
 
constexpr operator weak_ordering () const noexcept
 
- Public Member Functions inherited from absl::compare_internal::strong_ordering_base< strong_ordering >
 ABSL_COMPARE_INLINE_BASECLASS_DECL (equal)
 
 ABSL_COMPARE_INLINE_BASECLASS_DECL (equal)
 
 ABSL_COMPARE_INLINE_BASECLASS_DECL (equivalent)
 
 ABSL_COMPARE_INLINE_BASECLASS_DECL (equivalent)
 
 ABSL_COMPARE_INLINE_BASECLASS_DECL (greater)
 
 ABSL_COMPARE_INLINE_BASECLASS_DECL (greater)
 
 ABSL_COMPARE_INLINE_BASECLASS_DECL (less)
 
 ABSL_COMPARE_INLINE_BASECLASS_DECL (less)
 

Private Member Functions

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

Private Attributes

compare_internal::value_type value_
 

Friends

struct compare_internal::strong_ordering_base< strong_ordering >
 
constexpr friend bool operator!= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator!= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator!= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator!= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator!= (strong_ordering v1, strong_ordering v2) noexcept
 
constexpr friend bool operator!= (strong_ordering v1, strong_ordering v2) noexcept
 
constexpr friend bool operator< (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator< (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator< (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator< (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator<= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator<= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator<= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator<= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator== (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator== (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator== (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator== (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator== (strong_ordering v1, strong_ordering v2) noexcept
 
constexpr friend bool operator== (strong_ordering v1, strong_ordering v2) noexcept
 
constexpr friend bool operator> (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator> (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator> (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator> (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator>= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator>= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr friend bool operator>= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr friend bool operator>= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 

Detailed Description

Definition at line 437 of file abseil-cpp/absl/types/compare.h.

Constructor & Destructor Documentation

◆ strong_ordering() [1/4]

constexpr absl::strong_ordering::strong_ordering ( compare_internal::eq  v)
inlineexplicitconstexprprivatenoexcept

Definition at line 439 of file abseil-cpp/absl/types/compare.h.

◆ strong_ordering() [2/4]

constexpr absl::strong_ordering::strong_ordering ( compare_internal::ord  v)
inlineexplicitconstexprprivatenoexcept

Definition at line 441 of file abseil-cpp/absl/types/compare.h.

◆ strong_ordering() [3/4]

constexpr absl::strong_ordering::strong_ordering ( compare_internal::eq  v)
inlineexplicitconstexprprivatenoexcept

◆ strong_ordering() [4/4]

constexpr absl::strong_ordering::strong_ordering ( compare_internal::ord  v)
inlineexplicitconstexprprivatenoexcept

Member Function Documentation

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [1/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
equal   
)

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [2/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
equal   
)

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [3/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
equivalent   
)

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [4/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
equivalent   
)

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [5/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
greater   
)

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [6/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
greater   
)

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [7/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
less   
)

◆ ABSL_COMPARE_INLINE_SUBCLASS_DECL() [8/8]

absl::strong_ordering::ABSL_COMPARE_INLINE_SUBCLASS_DECL ( strong_ordering  ,
less   
)

◆ operator partial_ordering() [1/2]

constexpr absl::strong_ordering::operator partial_ordering ( ) const
inlineconstexprnoexcept

◆ operator partial_ordering() [2/2]

constexpr absl::strong_ordering::operator partial_ordering ( ) const
inlineconstexprnoexcept

Definition at line 459 of file abseil-cpp/absl/types/compare.h.

◆ operator strong_equality() [1/2]

constexpr absl::strong_ordering::operator strong_equality ( ) const
inlineconstexprnoexcept

Definition at line 456 of file abseil-cpp/absl/types/compare.h.

◆ operator strong_equality() [2/2]

constexpr absl::strong_ordering::operator strong_equality ( ) const
inlineconstexprnoexcept

◆ operator weak_equality() [1/2]

constexpr absl::strong_ordering::operator weak_equality ( ) const
inlineconstexprnoexcept

Definition at line 452 of file abseil-cpp/absl/types/compare.h.

◆ operator weak_equality() [2/2]

constexpr absl::strong_ordering::operator weak_equality ( ) const
inlineconstexprnoexcept

◆ operator weak_ordering() [1/2]

constexpr absl::strong_ordering::operator weak_ordering ( ) const
inlineconstexprnoexcept

Definition at line 464 of file abseil-cpp/absl/types/compare.h.

◆ operator weak_ordering() [2/2]

constexpr absl::strong_ordering::operator weak_ordering ( ) const
inlineconstexprnoexcept

Friends And Related Function Documentation

◆ compare_internal::strong_ordering_base< strong_ordering >

Definition at line 443 of file abseil-cpp/absl/types/compare.h.

◆ operator!= [1/6]

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

Definition at line 498 of file abseil-cpp/absl/types/compare.h.

◆ operator!= [2/6]

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

◆ operator!= [3/6]

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

◆ operator!= [4/6]

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

Definition at line 474 of file abseil-cpp/absl/types/compare.h.

◆ operator!= [5/6]

constexpr friend bool operator!= ( strong_ordering  v1,
strong_ordering  v2 
)
friend

Definition at line 522 of file abseil-cpp/absl/types/compare.h.

◆ operator!= [6/6]

constexpr friend bool operator!= ( strong_ordering  v1,
strong_ordering  v2 
)
friend

◆ operator< [1/4]

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

Definition at line 502 of file abseil-cpp/absl/types/compare.h.

◆ operator< [2/4]

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

◆ operator< [3/4]

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

Definition at line 478 of file abseil-cpp/absl/types/compare.h.

◆ operator< [4/4]

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

◆ operator<= [1/4]

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

Definition at line 506 of file abseil-cpp/absl/types/compare.h.

◆ operator<= [2/4]

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

◆ operator<= [3/4]

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

◆ operator<= [4/4]

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

Definition at line 482 of file abseil-cpp/absl/types/compare.h.

◆ operator== [1/6]

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

Definition at line 494 of file abseil-cpp/absl/types/compare.h.

◆ operator== [2/6]

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

◆ operator== [3/6]

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

◆ operator== [4/6]

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

Definition at line 470 of file abseil-cpp/absl/types/compare.h.

◆ operator== [5/6]

constexpr friend bool operator== ( strong_ordering  v1,
strong_ordering  v2 
)
friend

◆ operator== [6/6]

constexpr friend bool operator== ( strong_ordering  v1,
strong_ordering  v2 
)
friend

Definition at line 518 of file abseil-cpp/absl/types/compare.h.

◆ operator> [1/4]

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

◆ operator> [2/4]

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

Definition at line 510 of file abseil-cpp/absl/types/compare.h.

◆ operator> [3/4]

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

Definition at line 486 of file abseil-cpp/absl/types/compare.h.

◆ operator> [4/4]

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

◆ operator>= [1/4]

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

Definition at line 514 of file abseil-cpp/absl/types/compare.h.

◆ operator>= [2/4]

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

◆ operator>= [3/4]

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

Definition at line 490 of file abseil-cpp/absl/types/compare.h.

◆ operator>= [4/4]

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

Member Data Documentation

◆ value_

compare_internal::value_type absl::strong_ordering::value_
private

Definition at line 528 of file abseil-cpp/absl/types/compare.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:26