www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21172] New: Disabling struct postblit should be deprecated?


          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 puremagic.com
          Reporter: porton 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.

Aug 17 2020