[Issue 21189] New: Plain Old Data and copy constructors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 22 14:26:10 UTC 2020
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 at puremagic.com
Reporter: porton at 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.
--
More information about the Digitalmars-d-bugs
mailing list