Expand description
Heap-allocated single value with an explicit allocator.
ExBox<T> represents unique ownership of a heap-allocated T. When
dropped it calls T’s destructor and returns the backing memory to the
allocator it was created with.
This is the explicit-allocator analogue of std::boxed::Box.
Structs§
- ExBox
- A pointer type for a single heap-allocated value with an explicit allocator.