#include "bench/bench.h"
#include "compat.h"
#include "prevector.h"
#include "serialize.h"
#include "streams.h"
#include <type_traits>
Go to the source code of this file.
◆ IS_TRIVIALLY_CONSTRUCTIBLE
| #define IS_TRIVIALLY_CONSTRUCTIBLE std::is_trivially_default_constructible |
◆ PREVECTOR_TEST
| #define PREVECTOR_TEST |
( |
|
name, |
|
|
|
nontrivops, |
|
|
|
trivops |
|
) |
| |
Value:
PrevectorResize<nontrivial_t>(state); \
} \
BENCHMARK(Prevector ##
name ## Nontrivial, nontrivops); \
PrevectorResize<trivial_t>(state); \
} \
BENCHMARK(Prevector ##
name ## Trivial, trivops);
Definition at line 78 of file prevector.cpp.
◆ trivial_t
◆ PrevectorResize()