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

#define ABSL_VARIANT_PROPAGATE_COPY_MOVE_TRIVIALITY   1

Definition at line 2517 of file variant_test.cc.

#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.

#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

int* counter

Definition at line 188 of file variant_test.cc.

int foo

Definition at line 227 of file variant_test.cc.

int i

Definition at line 100 of file variant_test.cc.

const size_t kIndex = N
static

Definition at line 146 of file variant_test.cc.

int member

Definition at line 395 of file variant_test.cc.

bool special_swap = false

Definition at line 101 of file variant_test.cc.

int v

Definition at line 81 of file variant_test.cc.

int value = 0

Definition at line 113 of file variant_test.cc.



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