isDefaultConstructorEnabled

Template to determine if provided Hook enables default constructor for Expected

Members

Manifest constants

isDefaultConstructorEnabled
enum isDefaultConstructorEnabled;
Undocumented in source.
isDefaultConstructorEnabled
enum isDefaultConstructorEnabled;
Undocumented in source.

Examples

struct Foo {}
struct Bar { static immutable bool enableDefaultConstructor = true; }
static assert(!isDefaultConstructorEnabled!Foo);
static assert(isDefaultConstructorEnabled!Bar);

Meta