isVoidValueEnabled

Template to determine if provided Hook enables void values for Expected

Members

Manifest constants

isVoidValueEnabled
enum isVoidValueEnabled;
Undocumented in source.
isVoidValueEnabled
enum isVoidValueEnabled;
Undocumented in source.

Examples

struct Hook { static immutable bool enableVoidValue = false; }
assert(!ok().hasError); // void values are enabled by default
static assert(!__traits(compiles, ok!(string, Hook)())); // won't compile

Meta