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

Inherits alb::v_100::allocator_with_stats_base< false, Allocator, Flags >.

Additional Inherited Members

- Public Types inherited from alb::v_100::allocator_with_stats_base< false, Allocator, Flags >
using statistic_type = typename traits::type_switch< std::atomic< size_t >, internal::no_atomic< size_t >, Shared >::type
 
- Public Member Functions inherited from alb::v_100::allocator_with_stats_base< false, Allocator, Flags >
block allocate (size_t n, const char *file=nullptr, const char *function=nullptr, int line=0) noexcept
 
void deallocate (block &b) noexcept
 
bool reallocate (block &b, size_t n) noexcept
 
std::enable_if
< traits::has_owns< U >::value,
bool >::type 
owns (const block &b) const noexcept
 
std::enable_if
< traits::has_expand< U >
::value, bool >::type 
expand (block &b, size_t delta) noexcept
 
Allocations allocations () const noexcept
 
- Static Public Attributes inherited from alb::v_100::allocator_with_stats_base< false, Allocator, Flags >
static const bool HasPerAllocationState
 
static MEMBER_ACCESSORS
constexpr bool 
supports_truncated_deallocation
 
static constexpr bool has_per_allocation_state
 
static constexpr unsigned alignment
 

Detailed Description

template<class Allocator, unsigned Flags = alb::StatsOptions::All>
class alb::v_100::allocator_with_stats< Allocator, Flags >

Definition at line 635 of file allocator_with_stats.hpp.


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