sandbox
Loading...
Searching...
No Matches
sbx::memory::tracking_allocator< Type, Category > Class Template Reference

Classes

struct  rebind
 

Public Types

using value_type = Type
 
using pointer = Type *
 
using const_pointer = const Type *
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using is_always_equal = std::true_type
 
using propagate_on_container_move_assignment = std::true_type
 

Public Member Functions

template<typename OtherType , allocation_category OtherCategory>
 tracking_allocator (const tracking_allocator< OtherType, OtherCategory > &) noexcept
 
auto allocate (size_type size, const std::source_location &source_location=std::source_location::current()) -> pointer
 
auto deallocate (pointer ptr, size_type) noexcept -> void
 

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