[Issue 11999] New: @disable should also offer an optional message.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 25 17:10:20 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11999

           Summary: @disable should also offer an optional message.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: rswhite4 at googlemail.com


--- Comment #0 from rswhite4 at googlemail.com 2014-01-25 17:10:16 PST ---
deprecated already has an optional message, so I suggest even @disable should
provide this option:
----
struct A {
    @disable("unique pointer aren't copyable")
    this(this);
}
----

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list