Currently instanced structure type used structure_default_construct as constructor if the user does not provide one, which is incorrect, since structure_default_construct reinterprets typeinfo_t parameter as StructureTypeInfo*, however GenericStructureInstancedTypeInfo* is actually passed, causing memory access violation.
Currently instanced structure type used
structure_default_construct
as constructor if the user does not provide one, which is incorrect, sincestructure_default_construct
reinterpretstypeinfo_t
parameter asStructureTypeInfo*
, howeverGenericStructureInstancedTypeInfo*
is actually passed, causing memory access violation.