Reality drives me to write less clean code, sorry for mistakenly posting in D.announce
0ffh
spam at frankhirsch.net
Fri Oct 12 08:04:46 PDT 2007
Mike Parker wrote:
> Pointer arithmetic in D is a no-no, unless you are using memory
> allocated outside of the GC.
What makes you say that?
Playing with pointers is perfectly valid and safe in D, as long as
you keep to the rules in http://www.digitalmars.com/d/garbage.html
(and currently, in paractice, even quite a bit further)!
Please, would everyone chip in and try to keep wrong assertions in
the ng to a minimum, so as not to confuse (other) newcomers!
Regards, Frank
More information about the Digitalmars-d
mailing list