hasDisabledPostblit

Is true iff the postblit of T is disabled (@disable this(this)).

Members

Manifest constants

hasDisabledPostblit
enum hasDisabledPostblit;
Undocumented in source.
hasDisabledPostblit
enum hasDisabledPostblit;
Undocumented in source.

Examples

static struct S
{
    @disable this(this);
}
static assert(!hasDisabledPostblit!int);
static assert( hasDisabledPostblit!S);

See Also

Meta