isAbstractClass

Detect whether S is an abstract class.

See also: __traits(isAbstractClass, S)

enum isAbstractClass ()

Examples

struct S { }
class C { }
abstract class AC { }
static assert(!isAbstractClass!S);
static assert(!isAbstractClass!C);
static assert( isAbstractClass!AC);
C c;
static assert(!isAbstractClass!c);
AC ac;
static assert( isAbstractClass!ac);

Meta