Metall  v0.29
A persistent memory allocator for data-centric analytics
fallback_allocator.hpp File Reference
#include <memory>
#include <cstdlib>
#include <type_traits>

Go to the source code of this file.

Classes

class  metall::container::fallback_allocator_adaptor< StatefulAllocator >
 A Metall STL compatible allocator which fallbacks to a heap allocator (e.g., malloc()) if its constructor receives no argument to construct the stateful allocator (Metall's normal STL compatible allocator) instance. More...
 
struct  metall::container::fallback_allocator_adaptor< StatefulAllocator >::rebind< T2 >
 Makes another allocator type for type T2. More...
 

Namespaces

 metall
 The top level of namespace of Metall.
 
 metall::container
 Namespace for Metall container.
 

Functions

template<typename stateful_allocator_type >
bool metall::container::operator== (const fallback_allocator_adaptor< stateful_allocator_type > &rhd, const fallback_allocator_adaptor< stateful_allocator_type > &lhd)
 
template<typename stateful_allocator_type >
bool metall::container::operator!= (const fallback_allocator_adaptor< stateful_allocator_type > &rhd, const fallback_allocator_adaptor< stateful_allocator_type > &lhd)