Classes | Namespaces | Macros
variant_test.cc File Reference
#include "absl/types/variant.h"
#include <algorithm>
#include <cstddef>
#include <functional>
#include <initializer_list>
#include <memory>
#include <ostream>
#include <queue>
#include <type_traits>
#include <unordered_set>
#include <utility>
#include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "absl/base/config.h"
#include "absl/base/port.h"
#include "absl/memory/memory.h"
#include "absl/meta/type_traits.h"
#include "absl/strings/string_view.h"
Include dependency graph for variant_test.cc:

Go to the source code of this file.

Classes

struct  std::hash< Hashable >
 
struct  Hashable< H >
 
struct  NonHashable
 

Namespaces

 absl
 
 std
 

Macros

#define ABSL_VARIANT_PROPAGATE_COPY_MOVE_TRIVIALITY   1
 
#define ABSL_VARIANT_TEST_EXPECT_BAD_VARIANT_ACCESS(...)
 
#define ABSL_VARIANT_TEST_EXPECT_FAIL(expr, exception_t, text)   EXPECT_DEATH(expr, text)
 

Macro Definition Documentation

◆ ABSL_VARIANT_PROPAGATE_COPY_MOVE_TRIVIALITY

#define ABSL_VARIANT_PROPAGATE_COPY_MOVE_TRIVIALITY   1

Definition at line 2517 of file variant_test.cc.

◆ ABSL_VARIANT_TEST_EXPECT_BAD_VARIANT_ACCESS

#define ABSL_VARIANT_TEST_EXPECT_BAD_VARIANT_ACCESS (   ...)
Value:
"Bad variant access")
#define ABSL_VARIANT_TEST_EXPECT_FAIL(expr, exception_t, text)
Definition: variant_test.cc:49

Definition at line 54 of file variant_test.cc.

◆ ABSL_VARIANT_TEST_EXPECT_FAIL

#define ABSL_VARIANT_TEST_EXPECT_FAIL (   expr,
  exception_t,
  text 
)    EXPECT_DEATH(expr, text)

Definition at line 49 of file variant_test.cc.

Variable Documentation

◆ counter

int* counter

Definition at line 188 of file variant_test.cc.

◆ foo

int foo

Definition at line 227 of file variant_test.cc.

◆ i

int i

Definition at line 100 of file variant_test.cc.

◆ kIndex

const size_t kIndex = N
static

Definition at line 146 of file variant_test.cc.

◆ member

int member

Definition at line 395 of file variant_test.cc.

◆ special_swap

bool special_swap = false

Definition at line 101 of file variant_test.cc.

◆ v

int v

Definition at line 81 of file variant_test.cc.

◆ value

int value = 0

Definition at line 113 of file variant_test.cc.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22