What about C's -> ?

Bill Baxter dnewsgroup at billbaxter.com
Tue Jul 24 11:50:16 PDT 2007


freeagle wrote:
> Hoenir wrote:
>> There seems to be no p->x in D. Is there any other syntactic sugar for 
>> (*p).x ?
> 
> dot operator stands for both dot and -> operators in c++

Just curious -- does it also work for (**p).x and (***p).x etc?
(Sorry to lazy to check :-P )  But surely someone here knows right off 
the top of their head.

--bb


More information about the Digitalmars-d-learn mailing list