Pointer arithmetic
Frits van Bommel
fvbommel at REMwOVExCAPSs.nl
Mon Oct 15 03:54:25 PDT 2007
Michal wrote:
> Hi,
> Im new to D language, and Im wondering if there is pointer arithmetic. I think its very useful thing, sometimes more convenient than [].
Pointer arithmetic works, but (obviously) only when you're actually
using pointers.
However between class references, real array types and ref (aka
inout)/out parameters, raw pointer usage in D programs is typically very
low (and is normally discouraged unless there's no other way).
More information about the Digitalmars-d
mailing list