Metall  v0.27
A persistent memory allocator for data-centric analytics
fallback_allocator_adaptor.hpp File Reference
#include <memory>
#include <cstdlib>
#include <type_traits>
#include <metall/stl_allocator.hpp>

Go to the source code of this file.

Classes

class  metall::utility::fallback_allocator_adaptor< primary_alloc >
 A STL compatible allocator which fallbacks to a heap allocator (e.g., malloc) if its constructor receives no argument. More...
 
struct  metall::utility::fallback_allocator_adaptor< primary_alloc >::rebind< T2 >
 Makes another allocator type for type T2. More...
 

Namespaces

 metall
 The top level of namespace of Metall.
 
 metall::utility
 Namespace for utility items.
 

Functions

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