Classes | Namespaces | Typedefs | Enumerations | Functions
compare.h File Reference
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <type_traits>
#include "absl/base/attributes.h"
#include "absl/meta/type_traits.h"
Include dependency graph for compare.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  absl::compare_internal::Fail< T >
 
struct  absl::compare_internal::OnlyLiteralZero< NullPtrT >
 
class  absl::partial_ordering
 
struct  absl::compare_internal::partial_ordering_base< T >
 
class  absl::strong_equality
 
struct  absl::compare_internal::strong_equality_base< T >
 
class  absl::strong_ordering
 
struct  absl::compare_internal::strong_ordering_base< T >
 
class  absl::weak_equality
 
struct  absl::compare_internal::weak_equality_base< T >
 
class  absl::weak_ordering
 
struct  absl::compare_internal::weak_ordering_base< T >
 

Namespaces

 absl
 
 absl::compare_internal
 

Typedefs

using absl::compare_internal::value_type = int8_t
 

Enumerations

enum  absl::compare_internal::eq : value_type { absl::compare_internal::eq::equal = 0, absl::compare_internal::eq::equivalent = equal, absl::compare_internal::eq::nonequal = 1, absl::compare_internal::eq::nonequivalent = nonequal }
 
enum  absl::compare_internal::ncmp : value_type { absl::compare_internal::ncmp::unordered = -127 }
 
enum  absl::compare_internal::ord : value_type { absl::compare_internal::ord::less = -1, absl::compare_internal::ord::greater = 1 }
 

Functions

template<typename Bool , absl::enable_if_t< std::is_same< bool, Bool >::value, int > = 0>
constexpr bool absl::compare_internal::compare_result_as_less_than (const Bool r)
 
constexpr bool absl::compare_internal::compare_result_as_less_than (const absl::weak_ordering r)
 
template<typename Int , absl::enable_if_t< std::is_same< int, Int >::value, int > = 0>
constexpr absl::weak_ordering absl::compare_internal::compare_result_as_ordering (const Int c)
 
constexpr absl::weak_ordering absl::compare_internal::compare_result_as_ordering (const absl::weak_ordering c)
 
template<typename Compare , typename K , typename LK >
constexpr bool absl::compare_internal::do_less_than_comparison (const Compare &compare, const K &x, const LK &y)
 
template<typename Compare , typename K , typename LK , absl::enable_if_t<!std::is_same< bool, absl::result_of_t< Compare(const K &, const LK &)>>::value, int > = 0>
constexpr absl::weak_ordering absl::compare_internal::do_three_way_comparison (const Compare &compare, const K &x, const LK &y)
 


abseil_cpp
Author(s):
autogenerated on Tue Jun 18 2019 19:44:38