mitteLib
Loading...
Searching...
No Matches
mlab::tracker_allocator< T > Struct Template Reference

#include <tracker_allocator.hpp>

Public Types

using value_type = T
 

Public Member Functions

 tracker_allocator () noexcept=default
 
 tracker_allocator (tracker_allocator &&) noexcept=default
 
 tracker_allocator (tracker_allocator const &) noexcept=default
 
template<class U >
 tracker_allocator (tracker_allocator< U > const &) noexcept
 
value_typeallocate (std::size_t n)
 
void deallocate (value_type *p, std::size_t n)
 

Member Typedef Documentation

◆ value_type

template<class T >
using mlab::tracker_allocator< T >::value_type = T

Constructor & Destructor Documentation

◆ tracker_allocator() [1/4]

template<class T >
mlab::tracker_allocator< T >::tracker_allocator ( )
defaultnoexcept

◆ tracker_allocator() [2/4]

template<class T >
mlab::tracker_allocator< T >::tracker_allocator ( tracker_allocator< T > && )
defaultnoexcept

◆ tracker_allocator() [3/4]

template<class T >
mlab::tracker_allocator< T >::tracker_allocator ( tracker_allocator< T > const & )
defaultnoexcept

◆ tracker_allocator() [4/4]

template<class T >
template<class U >
mlab::tracker_allocator< T >::tracker_allocator ( tracker_allocator< U > const & )
inlinenoexcept

Member Function Documentation

◆ allocate()

template<class T >
value_type * mlab::tracker_allocator< T >::allocate ( std::size_t n)
inline

◆ deallocate()

template<class T >
void mlab::tracker_allocator< T >::deallocate ( value_type * p,
std::size_t n )
inline

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