automem.unique

A unique pointer.

Members

Manifest constants

gcExists
enum gcExists;
Undocumented in source.
gcExists
enum gcExists;
Undocumented in source.

Mixins

__anonymous
mixin TestUtils
Undocumented in source.

Structs

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

A unique pointer similar to C++'s std::unique_ptr.

Mixed In Members

From mixin TestUtils

theTestAllocator
auto theTestAllocator()

Returns an object that, while in scope, replaces whatever theAllocator was with TestAllocator.

before
void before()
Undocumented in source. Be warned that the author may not have intended to support it.
after
void after()
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
_writelnUt
void _writelnUt(T args)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta