The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
automem.unique
automem
A unique pointer.
Members
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.
Meta
Source
See Source File
automem
modules
allocator
array
ref_counted
traits
unique
vector
A unique pointer.