automem.ref_counted

A reference-counted smart pointer.

Members

Functions

refCounted
auto refCounted(Unique!(Type, Allocator) ptr)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

RefCounted
struct RefCounted(Type, Allocator = typeof(theAllocator), Flag!"supportGC" supportGC = Flag!"supportGC".yes)

A reference-counted smart pointer similar to C++'s std::shared_ptr.

Meta