nngn
Loading...
Searching...
No Matches
base.h File Reference
#include <cstddef>
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nngn::allocator_opts
 Configuration object for allocator_base. More...
 
struct  nngn::allocator_base< T, o >
 Base class for allocators, implements a few basic operations. More...
 

Namespaces

namespace  nngn
 
namespace  nngn::detail
 

Functions

template<typename T , allocator_opts o>
bool nngn::operator== (const allocator_base< T, o > &, const allocator_base< T, o > &)
 
template<typename T , allocator_opts o>
bool nngn::operator!= (const allocator_base< T, o > &, const allocator_base< T, o > &)
 

Variables

template<typename A >
static constexpr bool nngn::detail::has_realloc
 Checks whether an allocator supports memory relocation.
 
template<typename A , typename T >
static constexpr bool nngn::detail::has_typed_alloc
 Checks whether an allocator supports typed memory allocations.