Determines whether T has its own context pointer. T must be either class, struct, or union.
See also: __traits(isNested, T)
static struct S { } static assert(!isNested!S); int i; struct NestedStruct { void f() { ++i; } } static assert(isNested!NestedStruct);
See Implementation
Determines whether T has its own context pointer. T must be either class, struct, or union.
See also: __traits(isNested, T)