example of pointer usefulness in D

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Tue Oct 21 12:42:44 PDT 2014


On Tue, 21 Oct 2014 19:36:49 +0000
via Digitalmars-d <digitalmars-d at puremagic.com> wrote:

> On Tuesday, 21 October 2014 at 19:33:14 UTC, Freddy wrote:
> > On Tuesday, 21 October 2014 at 12:22:54 UTC, edn wrote:
> >> Could someone provide me with examples showing the usefulness 
> >> of pointers in the D language? They don't seem to be used as 
> >> much as in C and C++.
> >
> > https://en.wikipedia.org/wiki/XOR_linked_list
> Uhm. That won't work with the GC…
nope, it's vice versa: it's GC who can't work with this. ;-)

yet you can use D without GC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141021/9335f5b8/attachment.sig>


More information about the Digitalmars-d mailing list