Skip to content

Class blaze::memory_tracker::TrackedAllocator

template <typename T, Tag MemoryTag>

ClassList > blaze > memory_tracker > TrackedAllocator

Classes

Type Name
struct rebind <typename U>

Public Types

Type Name
typedef std::ptrdiff_t difference_type
typedef std::true_type is_always_equal
typedef std::true_type propagate_on_container_copy_assignment
typedef std::true_type propagate_on_container_move_assignment
typedef std::true_type propagate_on_container_swap
typedef std::size_t size_type
typedef T value_type

Public Functions

Type Name
TrackedAllocator () noexcept
TrackedAllocator (const TrackedAllocator< U, MemoryTag > &) noexcept
T * allocate (size_type count)
void deallocate (T * pointer, size_type count) noexcept
size_type max_size () noexcept const

Public Types Documentation

typedef difference_type

using blaze::memory_tracker::TrackedAllocator< T, MemoryTag >::difference_type =  std::ptrdiff_t;

typedef is_always_equal

using blaze::memory_tracker::TrackedAllocator< T, MemoryTag >::is_always_equal =  std::true_type;

typedef propagate_on_container_copy_assignment

using blaze::memory_tracker::TrackedAllocator< T, MemoryTag >::propagate_on_container_copy_assignment =  std::true_type;

typedef propagate_on_container_move_assignment

using blaze::memory_tracker::TrackedAllocator< T, MemoryTag >::propagate_on_container_move_assignment =  std::true_type;

typedef propagate_on_container_swap

using blaze::memory_tracker::TrackedAllocator< T, MemoryTag >::propagate_on_container_swap =  std::true_type;

typedef size_type

using blaze::memory_tracker::TrackedAllocator< T, MemoryTag >::size_type =  std::size_t;

typedef value_type

using blaze::memory_tracker::TrackedAllocator< T, MemoryTag >::value_type =  T;

Public Functions Documentation

function TrackedAllocator [1/2]

blaze::memory_tracker::TrackedAllocator::TrackedAllocator () noexcept

function TrackedAllocator [2/2]

template<typename U>
inline blaze::memory_tracker::TrackedAllocator::TrackedAllocator (
    const TrackedAllocator < U, MemoryTag > &
) noexcept

function allocate

inline T * blaze::memory_tracker::TrackedAllocator::allocate (
    size_type count
) 

function deallocate

inline void blaze::memory_tracker::TrackedAllocator::deallocate (
    T * pointer,
    size_type count
) noexcept

function max_size

inline size_type blaze::memory_tracker::TrackedAllocator::max_size () noexcept const


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/utilities/tracked_allocator.hpp