Loading...
Searching...
No Matches
initiator.hpp
Go to the documentation of this file.
1
4
#pragma once
5
6
#define BY_INITIATOR(name, body) \
7
static inline Initiator* BY_CONCAT(__initi__##name##_, __COUNTER__) = new Initiator([]() body);
8
9
namespace
by {
16
struct
_nout
Initiator
{
17
template
<
typename
T>
Initiator
(
T
func
) {
func
(); }
18
};
19
}
by::Initiator
Utility for executing code before main() function.
Definition
initiator.hpp:16
by::noWrap
Rich logging support with polymorphic type conversion.
Definition
richLog.hpp:34