Metall  v0.28
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< stateful_allocator >
 A STL compatible allocator which fallbacks to a heap allocator (e.g., malloc()) if its constructor receives no argument to construct the stateful allocator instance. More...
 
struct  metall::container::fallback_allocator_adaptor< stateful_allocator >::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_allocatorator_type >
bool metall::container::operator== (const fallback_allocator_adaptor< stateful_allocatorator_type > &rhd, const fallback_allocator_adaptor< stateful_allocatorator_type > &lhd)
 
template<typename stateful_allocatorator_type >
bool metall::container::operator!= (const fallback_allocator_adaptor< stateful_allocatorator_type > &rhd, const fallback_allocator_adaptor< stateful_allocatorator_type > &lhd)