cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
unique_name.h File Reference

Definition of STAT_BENCH_IMPL_UNIQUE_NAME macro. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STAT_BENCH_IMPL_COUNTER   __COUNTER__
 Macro to get a counter.
 
#define STAT_BENCH_IMPL_UNIQUE_NAME(PREFIX)
 Macro to generate a unique name.
 
#define STAT_BENCH_IMPL_UNIQUE_NAME_IMPL(PREFIX, COUNTER)
 Macro to concatenate the prefix and the counter.
 
#define STAT_BENCH_IMPL_UNIQUE_NAME_IMPL2(PREFIX, COUNTER)
 Macro to concatenate the prefix and the counter.
 

Detailed Description

Definition of STAT_BENCH_IMPL_UNIQUE_NAME macro.

Definition in file unique_name.h.

Macro Definition Documentation

◆ STAT_BENCH_IMPL_COUNTER

#define STAT_BENCH_IMPL_COUNTER   __COUNTER__

Macro to get a counter.

Definition at line 25 of file unique_name.h.

◆ STAT_BENCH_IMPL_UNIQUE_NAME

#define STAT_BENCH_IMPL_UNIQUE_NAME ( PREFIX)
Value:
#define STAT_BENCH_IMPL_COUNTER
Macro to get a counter.
Definition unique_name.h:25
#define STAT_BENCH_IMPL_UNIQUE_NAME_IMPL(PREFIX, COUNTER)
Macro to concatenate the prefix and the counter.
Definition unique_name.h:41

Macro to generate a unique name.

Parameters
[in]PREFIXPrefix.

Definition at line 49 of file unique_name.h.

◆ STAT_BENCH_IMPL_UNIQUE_NAME_IMPL

#define STAT_BENCH_IMPL_UNIQUE_NAME_IMPL ( PREFIX,
COUNTER )
Value:
#define STAT_BENCH_IMPL_UNIQUE_NAME_IMPL2(PREFIX, COUNTER)
Macro to concatenate the prefix and the counter.
Definition unique_name.h:33

Macro to concatenate the prefix and the counter.

Parameters
[in]PREFIXPrefix.
[in]COUNTERCounter.

Definition at line 41 of file unique_name.h.

◆ STAT_BENCH_IMPL_UNIQUE_NAME_IMPL2

#define STAT_BENCH_IMPL_UNIQUE_NAME_IMPL2 ( PREFIX,
COUNTER )
Value:
PREFIX##COUNTER

Macro to concatenate the prefix and the counter.

Parameters
[in]PREFIXPrefix.
[in]COUNTERCounter.

Definition at line 33 of file unique_name.h.