Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Classes | Macros
prevector.cpp File Reference
#include <prevector.h>
#include <serialize.h>
#include <streams.h>
#include <type_traits>
#include <bench/bench.h>
Include dependency graph for prevector.cpp:

Go to the source code of this file.

Classes

struct  nontrivial_t
 

Macros

#define IS_TRIVIALLY_CONSTRUCTIBLE   std::is_trivially_default_constructible
 
#define PREVECTOR_TEST(name)
 

Macro Definition Documentation

#define IS_TRIVIALLY_CONSTRUCTIBLE   std::is_trivially_default_constructible

Definition at line 17 of file prevector.cpp.

#define PREVECTOR_TEST (   name)
Value:
static void Prevector##name##Nontrivial(benchmark::Bench& bench) \
{ \
Prevector##name<nontrivial_t>(bench); \
} \
BENCHMARK(Prevector##name##Nontrivial); \
static void Prevector##name##Trivial(benchmark::Bench& bench) \
{ \
Prevector##name<trivial_t>(bench); \
} \
BENCHMARK(Prevector##name##Trivial);
#define BENCHMARK(n)
Definition: bench.h:60
const char * name
Definition: rest.cpp:41
Main entry point to nanobench's benchmarking facility.
Definition: nanobench.h:583