Add generics support?

This is a question for the Unreal Engine application backend.

In Unreal Engine 5, the use of generic C++ templates is significantly limited, especially for classes that inherit from UObject or functions that need to be exposed to the reflection system. These limitations are due to the particularities of the UE reflection system and the need to maintain compatibility with Blueprints.

Would it be feasible to improve the integration of C++ templates with the current Unreal Engine system, reducing the exclusive dependency on UObject?

mTCgc1z.png (562×611)

About a year ago, I noticed these restrictions on the use of templates in UE, which forced the use of UObject in many cases. Understanding that UE is essentially a custom extension of C++, what would be the feasibility and impact of implementing a more complete integration of templates in the UE reflection system?