digitalmars.D.bugs - [Issue 2535] New: Standard library does not mark functions as pure
- d-bugmail puremagic.com (18/18) Dec 21 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2535
- d-bugmail puremagic.com (9/9) Dec 21 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2535
http://d.puremagic.com/issues/show_bug.cgi?id=2535 Summary: Standard library does not mark functions as pure Product: D Version: 2.022 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: bugzilla digitalmars.com ReportedBy: jason.james.house gmail.com I hit this in std.cpuid, but I bet it occurs in many more places. Obviously, any part of phobos/druntime which does not properly mark pure functions is unusable from pure code. I'm pretty sure that the cpuid never changes while a program is running and the various attribute querying and toString should be pure. --
Dec 21 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2535 dsimcha yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE *** This bug has been marked as a duplicate of 2515 *** --
Dec 21 2008