[Issue 8185] Pure functions and pointers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 2 21:27:29 PDT 2012


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #8 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-06-02 21:29:24 PDT ---
This isn't true:

> @safe functions cannot use pointers, unsafe ones can.

@safe functions can use pointers just fine. Pointers themselves are considered
@safe (e.g. the AA's in operator works just fine in @safe code). It's unsafe
pointer operations such as pointer arithmetic which are not @safe.

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