include/meltpooldg/utilities/preprocessor_directives.hpp File Reference
|
Developer Documentation
|
preprocessor_directives.hpp File Reference
#include <utility>
Include dependency graph for preprocessor_directives.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros | |
| #define | MPDG_LAMBDA_WRAPPER(func) [&](auto &&...args) -> decltype(auto) { return func(std::forward<decltype(args)>(args)...); } |
| Collection of preprocessor directives used throughout MeltPoolDG. | |
Macro Definition Documentation
◆ MPDG_LAMBDA_WRAPPER
| #define MPDG_LAMBDA_WRAPPER | ( | func | ) | [&](auto &&...args) -> decltype(auto) { return func(std::forward<decltype(args)>(args)...); } |
Collection of preprocessor directives used throughout MeltPoolDG.
Creates a lambda that acts as a simple wrapper around the given function, supporting perfect argument forwarding.
Generated by