Classes | Namespaces | 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

namespace  absl
namespace  absl::compare_internal

Enumerations

enum  absl::compare_internal::eq { absl::compare_internal::equal = 0, absl::compare_internal::equivalent = equal, absl::compare_internal::nonequal = 1, absl::compare_internal::nonequivalent = nonequal }
enum  absl::compare_internal::ncmp { absl::compare_internal::unordered = -127 }
enum  absl::compare_internal::ord { absl::compare_internal::less = -1, absl::compare_internal::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 Wed Jun 19 2019 19:42:16