![]() |
WPILibC++ 2025.3.1
|
Traits class that checks whether or not a standard Allocator
can be used as RawAllocator.
More...
#include <wpi/memory/allocator_traits.hpp>
Traits class that checks whether or not a standard Allocator
can be used as RawAllocator.
It checks the existence of a custom construct()
, destroy()
function, if provided, it cannot be used since it would not be called.
Specialize it for custom Allocator
types to override this check.