www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21189] New: Plain Old Data and copy constructors

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

          Issue ID: 21189
           Summary: Plain Old Data and copy constructors
           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/struct.html (about POD) "it has no postblits,
destructors, or assignment operators".

It is weird that copy constructors are not mentioned in this list. Is it
intentional? (Isn't this an erroneous omission in the specification?)

In either case, to leave no questions like one I asked in this bug report, it
should be explicitly mentioned in the specification.

--
Aug 22 2020