[Closed] How to align USTRUCT
How can I align a USTRUCT in memory?
UHT freaks out with
As a workaround I'm using dummy padding members e.g.
The question has been closed Nov 02 '18 at 11:18 PM by GlassBeaver for the following reason:
The question is answered, right answer was accepted
That clearly means UHT don't recognize alignas, but this can also mean reflection system don't support alignas all together as it need to track memory addresses so it needs to support it. Non-USTRUCT obviously work since UHT is not concerned about them and those don't land to reflection system.
You might try reporting a bug:
You should get clear responce whatever there intention from Epic to support them, i got when i questioned UTF16 surrogates support (for characters above 0xFFFF) in Slate
Follow this question
Once you sign in you will be able to subscribe for any updates here