memory
is_thread_safe_allocator< RawAllocator > Struct Template Reference

Detailed Description

template<class RawAllocator>
struct foonathan::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.