/Engine/Source/Runtime/MeshDescription/Public/MeshAttributeArray.h
The approach taken here is to generate a jump table at compile time, one entry per possible attribute type. The function Dispatch(...) is the actual function which gets called. MakeJumpTable() is the constexpr function which creates a static jump table at compile time. Class which implements a function jump table to be automatically generated at compile time. This is used byTAttributesSetto provide O(1) dispatch by attribute type at runtime.
template<typename FnType, uint32 Size> struct TJumpTable
FnType *[Si...
Fns