This is a similar approach to ForEach, above. 更多...
This is a similar approach to ForEach, above.
Given a type index, at runtime, we wish to create an attribute array of the corresponding type; essentially a factory.
We generate a jump table at compile time, containing generated functions to register attributes of each type.