Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
TEMPLATE.h
Go to the documentation of this file.
1#pragma once
2
4
5#include "MacrosCore.h" // IWYU pragma: keep
6
7#define _SPEC_TEMPLATE(templateNameSymbol) \
8 _GLOBAL_MACRO_FUNCTIONS_NEW_NAMED_FUNCTION_RUNNER_VARIABLE_NAME(templateNameSymbol){[]() { \
9 SpecsCpp::GlobalSpecGroup::instance().declare_top_level_template(#templateNameSymbol); \
10 }};