AssociativeArraySetter.componentType

Identify the type of supported component.

Identify the type of supported component. It returns type info of component if it is supported by accessor, otherwise it will return typeid(void) denoting that the type isn't supported by accessor. The accessor is not limited to returning the type info of passed component, it can actually return type info of super type or any type given the returned type is implicitly convertible or castable to ComponentType.

class AssociativeArraySetter(Type, KeyType = Type)
const nothrow
TypeInfo
componentType
(
ref Type[KeyType] composite
)

Return Value

Type: TypeInfo

TypeInfo type information about passed component, or typeid(void) if component is not supported.

Meta