December 29, 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@puremagic.com
        ReportedBy: bugzilla@digitalmars.com


--- Comment #0 from Walter Bright <bugzilla@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: -------
December 29, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9237



--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-12-28 16:39:54 PST ---
https://github.com/D-Programming-Language/dmd/pull/1421

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 29, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9237



--- Comment #2 from github-bugzilla@puremagic.com 2012-12-29 13:25:18 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d53a0063235604a638b32de4d5ad7a24bba6fea8 Fixes Issue 9237 - Add isPOD trait.

https://github.com/D-Programming-Language/dmd/commit/dad4ab12a9fe1f846c70640c35d8293678f77bd1 Merge pull request #1421 from AndrejMitrovic/Fix9237

Issue 9237 - Add isPOD trait

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 29, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9237



--- Comment #3 from github-bugzilla@puremagic.com 2012-12-29 13:26:14 PST ---
Commit pushed to staging at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/5781626d3cdd8ec29216047a510decf6919e2562 Merge pull request #1421 from AndrejMitrovic/Fix9237

Issue 9237 - Add isPOD trait

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 29, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9237


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 04, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9237



--- Comment #4 from github-bugzilla@puremagic.com 2013-01-04 14:30:28 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/a33a6cf86488a65154d8f275c940f4fcf7c896e1 Merge pull request #229 from AndrejMitrovic/Issue9237_docs

Add docs for isPOD trait.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home