class VariantAccessor(ComponentType, FieldType = ComponentType, KeyType = ComponentType)
if (
is(
ComponentType :
VariantN!(
ComponentSize,
ComponentTypes),
size_t ComponentSize
ComponentTypes...
) &&
is(
FieldType :
VariantN!(
FieldSize,
FieldTypes),
size_t FieldSize
FieldTypes...
)
&&
is(
KeyType :
VariantN!(
KeySize,
KeyTypes),
size_t KeySize
KeyTypes...
)
)
Check if requested property is present in component.
Check if requested property is present in component. The method could have allocation side effects due to the fact that it is not restricted in calling access method of the accessor.