On Wednesday, 9 September 2015 at 23:22:49 UTC, ponce wrote:
- RefCountedOnly for D structs. std::shared_ptr works for all.
RefCounted works with classes as well. http://dlang.org/phobos/std_typecons.html#.RefCounted
Gary Willoughby via Digitalmars-d-learn Thu, 10 Sep 2015 04:41:26 -0700
On Wednesday, 9 September 2015 at 23:22:49 UTC, ponce wrote:
- RefCountedOnly for D structs. std::shared_ptr works for all.
RefCounted works with classes as well. http://dlang.org/phobos/std_typecons.html#.RefCounted