Template to determine if hook enables or disables copy constructor.
It is enabled by default.
See hasOnUnchecked handler, which can be used in combination with disabled copy constructor to enforce that the result is checked.
struct Foo {} struct Bar { static immutable bool enableCopyConstructor = false; } static assert(isCopyConstructorEnabled!Foo); static assert(!isCopyConstructorEnabled!Bar);
See Implementation
Template to determine if hook enables or disables copy constructor.
It is enabled by default.
See hasOnUnchecked handler, which can be used in combination with disabled copy constructor to enforce that the result is checked.