memory
allocator_is_raw_allocator< Allocator > Struct Template Reference

Detailed Description

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