On Tuesday, 4 February 2014 at 20:53:50 UTC, Nordlöw wrote:
std.typecons.RefCounted!TDoes this work equally well with T being both a value objects (struct) and reference objects (class)?
RefCounted doesn't support classes yet but that's just because nobody has taken the time to implement it. There also needs to be a WeakRef added in order to round out the smart pointer support.
Once that's done Phobos will at least have parity with C++ (it already has Unique).
