[Issue 3057] Add pure annotations to core.stdc.*

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 9 11:15:08 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3057





--- Comment #5 from Sean Kelly <sean at invisibleduck.org>  2009-06-09 11:15:06 PDT ---
I'd consider environment variables to be global state, and so no function using
them could be pure.  As for some of the ones you'd specifically marked,
strftime() uses the LC_TIME category of the current locale, which is global
mutable state as well.

-- 
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