core.internal.traits
Contains traits for runtime internal usage.
Copyright
Copyright Digital Mars 2014 -.
tmpl AliasThisTypeOf allSatisfy anySatisfy BaseElemOf classInstanceAlignment dtorIsNothrow DynamicArrayTypeOf externDFunc Fields Filter FunctionTypeOf hasElaborateAssign hasElaborateCopyConstructor hasElaborateDestructor hasElaborateMove hasIndirections hasUDA hasUnsharedIndirections isAssignable isDelegate isFunctionPointer isInnerClass maxAlignment ModifyTypePreservingTQ OriginalType Parameters ReturnType staticIota staticMap substInout substInoutForm Unqual
struct __InoutWorkaroundStruct
Functions 5
Variables 3
enumvar
isAggregateType = is(T == struct) || is(T == union) ||
is(T == class) || is(T == interface)enumvar
isPointer = is(T == U *, U) && !isAggregateType!Tenumvar
isDynamicArray = is(DynamicArrayTypeOf!T) && !isAggregateType!TTemplates 32
tmplFields(T)
tmplBaseElemOf(T)
tmplModifyTypePreservingTQ(alias Modifier, T)
tmplsubstInout(T)
tmplsubstInoutForm(T)
tmplexternDFunc(string fqn, T: FT *, FT)
if (is(FT == function))used to declare an extern(D) function that is defined in a different module
tmplstaticIota(int beg, int end)
tmplisAssignable(Lhs, Rhs = Lhs)
tmplisInnerClass(T)
if (is(T == class))tmpldtorIsNothrow(T)
tmplallSatisfy(alias F, T...)
tmplanySatisfy(alias F, Ts...)
tmplmaxAlignment(Ts...)
if (Ts.length > 0)tmplclassInstanceAlignment(T)
if (is(T == class))tmplhasElaborateMove(S)
See hasElaborateMove
tmplhasElaborateDestructor(S)
tmplhasElaborateCopyConstructor(S)
tmplhasElaborateAssign(S)
tmplhasIndirections(T)
tmplhasUnsharedIndirections(T)
tmplOriginalType(T)
tmplDynamicArrayTypeOf(T)
tmplAliasThisTypeOf(T)
if (isAggregateType!T)tmplisFunctionPointer(T...)
if (T.length == 1)tmplisDelegate(T...)
if (T.length == 1)tmplFilter(alias pred, TList...)
tmplstaticMap(alias F, T...)
tmplFunctionTypeOf(func...)
if (func.length == 1 /*&& isCallable!func*/)tmplReturnType(func...)
if (func.length == 1 /*&& isCallable!func*/)tmplParameters(func...)
if (func.length == 1 /*&& isCallable!func*/)tmplhasUDA(alias symbol, alias attribute)