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

namespace  absl
namespace  std

Defines

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

Define Documentation

Definition at line 2517 of file variant_test.cc.

Value:
ABSL_VARIANT_TEST_EXPECT_FAIL((void)(__VA_ARGS__), absl::bad_variant_access, \
                                "Bad variant access")

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 Wed Jun 19 2019 19:42:16