[Issue 21172] New: Disabling struct postblit should be deprecated?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 18 05:57:05 UTC 2020


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

          Issue ID: 21172
           Summary: Disabling struct postblit should be deprecated?
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: porton at narod.ru

https://dlang.org/spec/attribute.html "Disabling struct postblit makes the
struct not copyable." but https://dlang.org/spec/struct.html#StructPostblit
says struct postblits are deprecated.

I suggest to add to the specification that disabling struct postblit is
deprecated, too.

--


More information about the Digitalmars-d-bugs mailing list