Is there a way to use C++ type aliases with UE reflection?
Example:
UCLASS()
class MyClass {
using FMyLabel = FName;
UPROPERTY()
FMyLabel Label;
UFUNCTION()
FMyLabel Get() { return Label; }
};
I get “Error : Unable to find ‘class’, ‘delegate’, ‘enum’, or ‘struct’ with name ‘FMyLabel’”
Same problem with typedef and #define.
Is there some option or trick to get UHT to do simple substitution of aliases?