Allocator Builder
Policy Based C++ Template Allocator Library
 All Classes Functions Variables Enumerations Enumerator Groups Pages
alb::v_100::shared_cascading_allocator< Allocator > Class Template Reference

#include <cascading_allocator.hpp>

Inherits alb::v_100::cascading_allocator_base< true, Allocator >.

Additional Inherited Members

- Public Types inherited from alb::v_100::cascading_allocator_base< true, Allocator >
using allocator = Allocator
 
- Public Member Functions inherited from alb::v_100::cascading_allocator_base< true, Allocator >
 cascading_allocator_base (cascading_allocator_base &&x) noexcept
 
cascading_allocator_baseoperator= (cascading_allocator_base &&x) noexcept
 
 ~cascading_allocator_base ()
 
block allocate (size_t n) noexcept
 
void deallocate (block &b) noexcept
 
bool reallocate (block &b, size_t n) noexcept
 
std::enable_if
< traits::has_expand< U >
::value, bool >::type 
expand (block &b, size_t delta) noexcept
 
bool owns (const block &b) const noexcept
 
std::enable_if
< traits::has_deallocate_all
< U >::value, void >::type 
deallocate_all () noexcept
 
- Static Public Member Functions inherited from alb::v_100::cascading_allocator_base< true, Allocator >
static constexpr size_t good_size (size_t n)
 
- Static Public Attributes inherited from alb::v_100::cascading_allocator_base< true, Allocator >
static constexpr bool supports_truncated_deallocation
 
static constexpr unsigned alignment
 

Detailed Description

template<class Allocator>
class alb::v_100::shared_cascading_allocator< Allocator >

This class implements a thread safe cascading allocator. For details see ALB::CascadingAllocatorsBase

Template Parameters
AllocatorThe allocator that shall be cascaded

group_shared group_allocators

Definition at line 329 of file cascading_allocator.hpp.


The documentation for this class was generated from the following file: