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

#include <compare.h>

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

Public Member Functions

constexpr operator weak_equality () const noexcept
 

Private Member Functions

constexpr strong_equality (compare_internal::eq v) noexcept
 

Private Attributes

compare_internal::value_type value_
 

Friends

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

Additional Inherited Members

- Static Public Attributes inherited from absl::compare_internal::strong_equality_base< T >
static ABSL_CONST_INIT const T equal
 
static ABSL_CONST_INIT const T equivalent
 
static ABSL_CONST_INIT const T nonequal
 
static ABSL_CONST_INIT const T nonequivalent
 

Detailed Description

Definition at line 187 of file compare.h.

Constructor & Destructor Documentation

◆ strong_equality()

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

Definition at line 189 of file compare.h.

Member Function Documentation

◆ operator weak_equality()

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

Definition at line 195 of file compare.h.

Friends And Related Function Documentation

◆ compare_internal::strong_equality_base< strong_equality >

Definition at line 191 of file compare.h.

◆ operator!= [1/2]

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

Definition at line 204 of file compare.h.

◆ operator!= [2/2]

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

Definition at line 212 of file compare.h.

◆ operator== [1/2]

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

Definition at line 200 of file compare.h.

◆ operator== [2/2]

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

Definition at line 208 of file compare.h.

Member Data Documentation

◆ value_

compare_internal::value_type absl::strong_equality::value_
private

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