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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Walter Bright <[email protected]> 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: -------