WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
wpi::memory::is_thread_safe_allocator< RawAllocator > Struct Template Reference

Specifies whether or not a RawAllocator is thread safe as-is. More...

#include <wpi/memory/threading.hpp>

Inheritance diagram for wpi::memory::is_thread_safe_allocator< RawAllocator >:

Detailed Description

template<class RawAllocator>
struct wpi::memory::is_thread_safe_allocator< RawAllocator >

Specifies whether or not a RawAllocator is thread safe as-is.

This allows to use no_mutex as an optimization. Note that stateless allocators are implictly thread-safe. Specialize it only for your own stateful allocators.


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