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
9namespace by {
16 struct _nout Initiator {
17 template <typename T> Initiator(T func) { func(); }
18 };
19}
Utility for executing code before main() function.
Definition initiator.hpp:16
Rich logging support with polymorphic type conversion.
Definition richLog.hpp:34