isRefType

Checks if a compile time entity is a reference type.

template isRefType (
T...
) if (
T.length == 1
) {}

Members

Aliases

U
alias U = from.bolts.traits.symbols.TypesOf!T[0]
Undocumented in source.

Manifest constants

isRefType
enum isRefType;
Undocumented in source.

Examples

struct S {}
class C {}
static assert(!isRefType!S);
static assert(!isRefType!int);
static assert( isRefType!C);

Meta