Head Const

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 18 14:46:04 PST 2016


On 2/18/2016 10:22 AM, Timon Gehr wrote:
> He wanted to embed a mutable reference count literally within a const object.
> Not a headconst object.

I know. I pointed out how it could be done in a way to achieve the same effect.

BTW, shared_ptr<> uses a pointer to the ref count.


More information about the Digitalmars-d mailing list