LMMS
Loading...
Searching...
No Matches
lmms::LocklessAllocatorT< T > Class Template Reference

#include <LocklessAllocator.h>

Inheritance diagram for lmms::LocklessAllocatorT< T >:
lmms::LocklessAllocator

Public Member Functions

 LocklessAllocatorT (size_t nmemb)
 ~LocklessAllocatorT () override=default
T * alloc ()
void free (T *ptr)

Additional Inherited Members

Private Member Functions inherited from lmms::LocklessAllocator
 LocklessAllocator (size_t nmemb, size_t size)
virtual ~LocklessAllocator ()
voidalloc ()
void free (void *ptr)

Constructor & Destructor Documentation

◆ LocklessAllocatorT()

template<typename T>
lmms::LocklessAllocatorT< T >::LocklessAllocatorT ( size_t nmemb)
inline

◆ ~LocklessAllocatorT()

template<typename T>
lmms::LocklessAllocatorT< T >::~LocklessAllocatorT ( )
overridedefault

Member Function Documentation

◆ alloc()

template<typename T>
T * lmms::LocklessAllocatorT< T >::alloc ( )
inline

◆ free()

template<typename T>
void lmms::LocklessAllocatorT< T >::free ( T * ptr)
inline

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