TaggedInspector.typeOf

Identify the type of child field of component.

  1. TypeInfo typeOf(Tagged component, string property)
    class TaggedInspector(Tagged : TaggedAlgebraic!(Union), Type, Union)
    const nothrow
    TypeInfo
    typeOf
    (
    Tagged component
    ,
    in string property
    )
    if (
    anySatisfy!(ApplyRight!(isD, Type), Fields!Union)
    )
  2. TypeInfo typeOf(Tagged component)

Parameters

component Tagged

a composite component (class, struct, assoc array etc.) containing some fields

Return Value

Type: TypeInfo

Type of field, or typeid(void) if field is not present in component

Meta