WPILibC++ 2025.3.1
Loading...
Searching...
No Matches
wpi::memory::allocator_is_raw_allocator< Allocator > Struct Template Reference

Traits class that checks whether or not a standard Allocator can be used as RawAllocator. More...

#include <wpi/memory/allocator_traits.hpp>

Detailed Description

template<class Allocator>
struct wpi::memory::allocator_is_raw_allocator< Allocator >

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.


The documentation for this struct was generated from the following file: