How to access to struct via pointer.

Steven Schveighoffer schveiguy at gmail.com
Sat Jul 17 21:31:32 UTC 2021


On 7/17/21 7:30 AM, sergey volkovich wrote:

> can you say, how to rewrite them in d?

Wherever in C or C++ you would use `->`, D uses `.`

So `a->member` becomes `a.member`.

-Steve


More information about the Digitalmars-d mailing list