RefCounted no thread-safety?

Kira Backes kira.backes at nrwsoft.de
Sun Jan 12 12:28:25 PST 2014


On Sunday, 12 January 2014 at 20:08:25 UTC, Dmitry Olshansky 
wrote:
> It cannot. In D everything is thread-local by default.
> And shared(RefCounted!T) would most likely fail to compile.

Hello, thanks for the info, I did not test compiling with shared. 
You’re right about this, I was just too much used to C++11’s 
shared_ptr I think ;-)


More information about the Digitalmars-d mailing list