The Gaudi Framework  master (37c0b60a)
Gaudi::Allocator Namespace Reference

Classes

class  Arena
 Custom allocator holding a pointer to a generic memory resource. More...
 

Typedefs

template<typename T , typename DefaultResource = void, std::size_t Alignment = alignof( std::max_align_t ), typename UpstreamAllocator = std::allocator<std::byte>>
using MonotonicArena = ::Gaudi::Allocator::Arena<::Gaudi::Arena::Monotonic< Alignment, UpstreamAllocator >, T, DefaultResource >
 

Functions

template<typename Resource , typename T , typename U , typename DefaultResource >
constexpr bool operator!= (Arena< Resource, T, DefaultResource > const &lhs, Arena< Resource, U, DefaultResource > const &rhs)
 

Typedef Documentation

◆ MonotonicArena

template<typename T , typename DefaultResource = void, std::size_t Alignment = alignof( std::max_align_t ), typename UpstreamAllocator = std::allocator<std::byte>>
using Gaudi::Allocator::MonotonicArena = typedef ::Gaudi::Allocator::Arena<::Gaudi::Arena::Monotonic<Alignment, UpstreamAllocator>, T, DefaultResource>

Definition at line 170 of file Monotonic.h.

Function Documentation

◆ operator!=()

template<typename Resource , typename T , typename U , typename DefaultResource >
constexpr bool Gaudi::Allocator::operator!= ( Arena< Resource, T, DefaultResource > const &  lhs,
Arena< Resource, U, DefaultResource > const &  rhs 
)
inlineconstexpr

Definition at line 86 of file Arena.h.

87  {
88  return !( lhs == rhs );
89  }