struct S { @disable this(this){} } static assert(isCopyable!int); static assert(!isCopyable!S);
See Implementation