Is it possible to use template/generic types within USTRUCTS? I have tried but can’t seem to get it working. Can’t find any answers online either.
No, you can’t use custom templates with any of the U-macros used by Unreal.
And there is only limited support for Epic templates with the U-macros as well. ie TArray< int >
is cool but TArray< TArray< int > >
is not.
Well that sucks. Thanks for the info.