![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Provides a macro to call a lambda before main. More...
#include "shambase/unique_name_macro.hpp"
Include dependency graph for pre_main_call.hpp:Go to the source code of this file.
Macros | |
| #define | PRE_MAIN_FUNCTION_CALL_NAMED(class_name, instance_name, lambda) |
| Macro to call a lambda or a function before main. | |
| #define | PRE_MAIN_FUNCTION_CALL(lambda) |
| Macro to call a lambda or a function before main with a automatically generated unique name. | |
Provides a macro to call a lambda before main.
Definition in file pre_main_call.hpp.
| #define PRE_MAIN_FUNCTION_CALL | ( | lambda | ) |
Macro to call a lambda or a function before main with a automatically generated unique name.
Usage :
| lambda | The lambda or function to call |
Definition at line 45 of file pre_main_call.hpp.
| #define PRE_MAIN_FUNCTION_CALL_NAMED | ( | class_name, | |
| instance_name, | |||
| lambda | |||
| ) |
Macro to call a lambda or a function before main.
Definition at line 22 of file pre_main_call.hpp.