Go to the documentation of this file.
15 #ifndef ABSL_CONTAINER_INTERNAL_TEST_INSTANCE_TRACKER_H_
16 #define ABSL_CONTAINER_INTERNAL_TEST_INSTANCE_TRACKER_H_
21 #include "absl/types/compare.h"
25 namespace test_internal {
105 ? absl::weak_ordering::less
106 :
value_ ==
x.value_ ? absl::weak_ordering::equivalent
107 : absl::weak_ordering::greater;
117 return o <<
"[value:" <<
v.value() <<
"]";
274 #endif // ABSL_CONTAINER_INTERNAL_TEST_INSTANCE_TRACKER_H_
CopyableOnlyInstance(int x)
MovableOnlyInstance & operator=(MovableOnlyInstance &&other)=default
static void SwapImpl(BaseCountedInstance &lhs, BaseCountedInstance &rhs)
void ResetCopiesMovesSwaps()
CopyableMovableInstance & operator=(const CopyableMovableInstance &rhs)=default
static bool supports_move()
static int num_instances_
#define ABSL_NAMESPACE_END
BaseCountedInstance(const BaseCountedInstance &x)
BaseCountedInstance(int x)
BaseCountedInstance & operator=(BaseCountedInstance &&x)
BaseCountedInstance(BaseCountedInstance &&x)
bool operator>=(const BaseCountedInstance &x) const
#define ABSL_NAMESPACE_BEGIN
friend void swap(CopyableMovableInstance &lhs, CopyableMovableInstance &rhs)
void swap(btree_map< K, V, C, A > &x, btree_map< K, V, C, A > &y)
static bool supports_move()
void swap(Json::Value &a, Json::Value &b)
Specialize std::swap() for Json::Value.
friend void swap(MovableOnlyInstance &lhs, MovableOnlyInstance &rhs)
bool operator>(const BaseCountedInstance &x) const
bool operator<(const BaseCountedInstance &x) const
static int num_comparisons_
bool operator<=(const BaseCountedInstance &x) const
CopyableMovableInstance(int x)
friend std::ostream & operator<<(std::ostream &o, const BaseCountedInstance &v)
static int num_live_instances_
int live_instances() const
int start_live_instances_
MovableOnlyInstance(int x)
absl::weak_ordering compare(const BaseCountedInstance &x) const
friend void swap(CopyableOnlyInstance &lhs, CopyableOnlyInstance &rhs)
bool operator!=(const BaseCountedInstance &x) const
BaseCountedInstance & operator=(const BaseCountedInstance &x)
bool operator==(const BaseCountedInstance &x) const
CopyableOnlyInstance & operator=(const CopyableOnlyInstance &rhs)=default
static bool supports_move()
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:28