fiber
Loading...
Searching...
No Matches
fiber::StaticLinearAllocatorDebug< Bytes > Class Template Reference

#include <StaticLinearAllocator.hpp>

Inheritance diagram for fiber::StaticLinearAllocatorDebug< Bytes >:

Public Member Functions

std::size_t nalloc () const
 
std::size_t nfree () const
 
template<class Stream>
void dump (Stream &stream)
 
void * do_allocate (const std::size_t size, const std::size_t alignment) final
 
void do_deallocate (void *ptr, std::size_t size, std::size_t alignment) final
 
bool do_is_equal (const std::pmr::memory_resource &other) const noexcept final
 
bool empty ()
 

Member Function Documentation

◆ do_allocate()

template<size_t Bytes>
void * fiber::StaticLinearAllocatorDebug< Bytes >::do_allocate ( const std::size_t size,
const std::size_t alignment )
inlinefinal

◆ do_deallocate()

template<size_t Bytes>
void fiber::StaticLinearAllocatorDebug< Bytes >::do_deallocate ( void * ptr,
std::size_t size,
std::size_t alignment )
inlinefinal

◆ do_is_equal()

template<size_t Bytes>
bool fiber::StaticLinearAllocatorDebug< Bytes >::do_is_equal ( const std::pmr::memory_resource & other) const
inlinefinalnoexcept

◆ dump()

template<size_t Bytes>
template<class Stream>
void fiber::StaticLinearAllocatorDebug< Bytes >::dump ( Stream & stream)
inline

◆ empty()

template<size_t Bytes>
bool fiber::StaticLinearAllocatorDebug< Bytes >::empty ( )
inline

◆ nalloc()

template<size_t Bytes>
std::size_t fiber::StaticLinearAllocatorDebug< Bytes >::nalloc ( ) const
inline

◆ nfree()

template<size_t Bytes>
std::size_t fiber::StaticLinearAllocatorDebug< Bytes >::nfree ( ) const
inline

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