Am Tue, 28 Aug 2012 22:08:11 -0700 schrieb Jonathan M Davis <jmdavisp...@gmx.com>:
> On Wednesday, August 29, 2012 06:46:25 Tommi wrote: > > The weird thing is that you can use a member access operator with > > a pointer (without explicitly dereferencing the pointer first). > > Well, you clearly haven't done much pointers to structs in D, or that > wouldn't > be surprising at all. . always implicitly dereferences the pointer, which > pretty much makes the -> operator completely unnecessary. > > - Jonathan M Davis P.S.: Also not much Delphi, which did the same before when innovating over Pascal. (There never was a '->' though, just dereference then access fields.) -- Marco