![]() |
MCRO
C++23 utilities for Unreal Engine.
|
#include "CoreMinimal.h"#include "HAL/PreprocessorHelpers.h"#include "boost/preprocessor.hpp"#include "Misc/EngineVersionComparison.h"Go to the source code of this file.
Macros | |
| #define | PREPROCESSOR_TO_TEXT(x) |
| #define | MACRO_OVERLOAD(prefix, ...) |
| Implement preprocessor function overloading based on argument count for a set of macros following a distinct convention. Individual overloads must have a trailing number corresponding to the number of arguments they accept. | |
| #define | DEFAULT_ON_EMPTY(value, default) |
| Returns given default value when input value is empty. | |
| #define | MCRO_FORWARD_FUNCTION Forward |
| #define | FWD(...) |
| Shorten forwarding expression with this macro so one may not need to specify explicit type. | |
Definition in file Macros.h.
| #define DEFAULT_ON_EMPTY | ( | value, | |
| default ) |
| #define FWD | ( | ... | ) |
Shorten forwarding expression with this macro so one may not need to specify explicit type.
| #define MACRO_OVERLOAD | ( | prefix, | |
| ... ) |
Implement preprocessor function overloading based on argument count for a set of macros following a distinct convention. Individual overloads must have a trailing number corresponding to the number of arguments they accept.
For example: