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

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

Private Member Functions

constexpr strong_ordering (compare_internal::eq 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 bool operator!= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator!= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr bool operator< (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator< (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr bool operator<= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator<= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr bool operator== (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator== (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr bool operator> (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator> (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 
constexpr bool operator>= (strong_ordering v, compare_internal::OnlyLiteralZero<>) noexcept
 
constexpr bool operator>= (compare_internal::OnlyLiteralZero<>, strong_ordering v) noexcept
 

Additional Inherited Members

- Static Public Attributes inherited from absl::compare_internal::strong_ordering_base< strong_ordering >
static ABSL_CONST_INIT const strong_ordering equal
 
static ABSL_CONST_INIT const strong_ordering equivalent
 
static ABSL_CONST_INIT const strong_ordering greater
 
static ABSL_CONST_INIT const strong_ordering less
 

Detailed Description

Definition at line 369 of file compare.h.

Constructor & Destructor Documentation

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

Definition at line 371 of file compare.h.

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

Definition at line 373 of file compare.h.

Member Function Documentation

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

Definition at line 386 of file compare.h.

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

Definition at line 383 of file compare.h.

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

Definition at line 379 of file compare.h.

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

Definition at line 391 of file compare.h.

Friends And Related Function Documentation

Definition at line 375 of file compare.h.

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

Definition at line 401 of file compare.h.

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

Definition at line 425 of file compare.h.

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

Definition at line 405 of file compare.h.

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

Definition at line 429 of file compare.h.

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

Definition at line 409 of file compare.h.

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

Definition at line 433 of file compare.h.

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

Definition at line 397 of file compare.h.

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

Definition at line 421 of file compare.h.

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

Definition at line 413 of file compare.h.

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

Definition at line 437 of file compare.h.

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

Definition at line 417 of file compare.h.

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

Definition at line 441 of file compare.h.

Member Data Documentation

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

Definition at line 447 of file compare.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59