On 01/14/2017 04:41 PM, Dmitry Olshansky wrote:
> Not quite true, there is at least one huge advantage - thread-locality.
> That is C++ smart_ptr has to be atomic, while its D counter part may
> safely be non-atomic because everything is TLS be default.

And you can add a shared postblit overload for when it's not thread
local ;).

Reply via email to