libd.meta.traits

Undocumented in source.

Members

Aliases

AliasSeq
alias AliasSeq(T...) = T
Undocumented in source.

Enums

isCopyable
eponymoustemplate isCopyable(alias T)
Undocumented in source.
isInstanceOf
eponymoustemplate isInstanceOf(alias S, alias T)
Undocumented in source.
isPointer
eponymoustemplate isPointer(alias T)
Undocumented in source.
isSlice
eponymoustemplate isSlice(alias T)
Undocumented in source.
isSomeFunction
eponymoustemplate isSomeFunction(alias F)
Undocumented in source.

Structs

TypeId
struct TypeId
Undocumented in source.

Templates

BitmaskUda
template BitmaskUda(alias Uda, alias T)
Undocumented in source.
ElementType
template ElementType(alias T)
Undocumented in source.
FunctionTypeOf
template FunctionTypeOf(func...)

Get the function type from a callable object func. Using builtin typeof on a property function yields the types of the property value, not of the property function itself. Still, FunctionTypeOf is able to obtain function types of properties. Note: Do not confuse function types with function pointer types; function types are usually used for compile-time reflection purposes.

Parameters
template Parameters(alias F)
Undocumented in source.
TypeIdOf
template TypeIdOf(alias T)
Undocumented in source.
UdaOrDefault
template UdaOrDefault(alias Uda, alias T, Uda default_)
Undocumented in source.
Unqual
template Unqual(T : const U, U)
Undocumented in source.
UnsignedOf
template UnsignedOf(alias NumT)
Undocumented in source.
allSatisfy
template allSatisfy(alias Condition, T...)
Undocumented in source.
anySatisfy
template anySatisfy(alias Condition, T...)
Undocumented in source.
isPartOfUnion
template isPartOfUnion(UnionT, ValueT)
Undocumented in source.

Meta