The OpenD Programming Language

automem.ref_counted

A reference-counted smart pointer.

Members

Structs

RefCounted
struct RefCounted(RefCountedType, Allocator = typeof(theAllocator), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)

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

Meta