The best way to store a structure by reference

drug via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 27 06:02:21 PST 2015


On 27.11.2015 11:38, drug wrote:
> I need to store a struct like a reference type. Now I use pointer for
> this, is it the best D way? This pointer is private and access to it is
> safe, but it's just unusual for me to see pointers in D code.

Thank to all for answer. I stay with pointers in my case.


More information about the Digitalmars-d-learn mailing list