[Issue 8185] Pure functions and pointers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 4 02:39:19 PDT 2012


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



--- Comment #24 from timon.gehr at gmx.ch 2012-06-04 02:41:16 PDT ---
(In reply to comment #22)
> 
> `strlen` is now pure (marked by Andrei Alexandrescu) and it can access global
> state once used with non-zero-ended string. I just made situation more evident.
> 

It may not be used with a non-zero-ended string.
See eg. http://www.cplusplus.com/reference/clibrary/cstring/strlen/

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