[Issue 7066] You can redefine .init and .stringof without error

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 8 05:09:04 PDT 2015


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

--- Comment #8 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> ---
(In reply to timon.gehr from comment #6)
> It would be better to have a specific feature here though. E.g. 
> 
> struct S{ @disable init; }

struct S{ @disable void init(); } ?

--


More information about the Digitalmars-d-bugs mailing list