[Issue 9237] New: add __traits(isPOD, ...)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 28 16:07:19 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9237
Summary: add __traits(isPOD, ...)
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bugzilla at digitalmars.com
--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2012-12-28 16:07:18 PST ---
The definition of POD (Plain Old Data) is rather subtle, and very hard to
determine with existing traits. It also may change. Therefore, to make sure it
is in sync with the compiler's view of it, adding a trait that sets its value
based on StructDeclaration::isPOD() makese sense.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list