nngn
Loading...
Searching...
No Matches
anonymous_namespace{alloc.cpp}::tracker< T > Struct Template Reference
Collaboration diagram for anonymous_namespace{alloc.cpp}::tracker< T >:

Classes

struct  rebind
 

Public Types

using value_type = T
 
using pointer = std::add_pointer_t<T>
 
using block_type = nngn::alloc_block<allocation, value_type>
 

Public Member Functions

void allocate (pointer, std::size_t)
 
void allocate (pointer p, std::size_t n, nngn::lua::type t)
 
void reallocate_pre (pointer p, std::size_t n)
 
void reallocate (pointer p, std::size_t n)
 
void deallocate (pointer p, std::size_t n)
 

Public Attributes

nngn::lua::alloc_infoinfo = nullptr
 

Member Typedef Documentation

◆ block_type

template<typename T >
using anonymous_namespace{alloc.cpp}::tracker< T >::block_type = nngn::alloc_block<allocation, value_type>

◆ pointer

template<typename T >
using anonymous_namespace{alloc.cpp}::tracker< T >::pointer = std::add_pointer_t<T>

◆ value_type

template<typename T >
using anonymous_namespace{alloc.cpp}::tracker< T >::value_type = T

Member Function Documentation

◆ allocate() [1/2]

template<typename T >
void anonymous_namespace{alloc.cpp}::tracker< T >::allocate ( pointer p,
std::size_t n,
nngn::lua::type t )
Here is the call graph for this function:

◆ allocate() [2/2]

template<typename T >
void anonymous_namespace{alloc.cpp}::tracker< T >::allocate ( pointer ,
std::size_t  )
inline

◆ deallocate()

template<typename T >
void anonymous_namespace{alloc.cpp}::tracker< T >::deallocate ( pointer p,
std::size_t n )

◆ reallocate()

template<typename T >
void anonymous_namespace{alloc.cpp}::tracker< T >::reallocate ( pointer p,
std::size_t n )

◆ reallocate_pre()

template<typename T >
void anonymous_namespace{alloc.cpp}::tracker< T >::reallocate_pre ( pointer p,
std::size_t n )
Here is the call graph for this function:

Member Data Documentation

◆ info

template<typename T >
nngn::lua::alloc_info* anonymous_namespace{alloc.cpp}::tracker< T >::info = nullptr

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