[Issue 17445] Disagreement between 'static assert' and 'static if'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat May 27 15:13:29 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17445

--- Comment #3 from Stanislav Blinov <stanislav.blinov at gmail.com> ---
Sorry, that was isAssignable.
isCopyable would be:

enum bool isCopyable(T) = is(typeof(() { T* a; T b = *a; }));

--


More information about the Digitalmars-d-bugs mailing list