playrho::BlockDeallocator Struct Reference
Block deallocator. More...
#include <BlockAllocator.hpp>
Public Types | |
using | size_type = BlockAllocator::size_type |
Size type. More... | |
Public Member Functions | |
BlockDeallocator ()=default | |
PLAYRHO_CONSTEXPR | BlockDeallocator (BlockAllocator *a, size_type n) noexcept |
Initializing constructor. More... | |
void | operator() (void *p) noexcept |
Default operator. More... | |
Public Attributes | |
BlockAllocator * | allocator |
Allocator pointer. More... | |
size_type | nelem |
Number of elements. More... | |
Detailed Description
Block deallocator.
Definition at line 124 of file BlockAllocator.hpp.
Member Typedef Documentation
◆ size_type
Size type.
Definition at line 127 of file BlockAllocator.hpp.
Constructor & Destructor Documentation
◆ BlockDeallocator() [1/2]
|
default |
◆ BlockDeallocator() [2/2]
|
inlinenoexcept |
Initializing constructor.
Definition at line 132 of file BlockAllocator.hpp.
Member Function Documentation
◆ operator()()
|
inlinenoexcept |
Default operator.
Definition at line 139 of file BlockAllocator.hpp.
Member Data Documentation
◆ allocator
BlockAllocator* playrho::BlockDeallocator::allocator |
Allocator pointer.
Definition at line 144 of file BlockAllocator.hpp.
◆ nelem
size_type playrho::BlockDeallocator::nelem |
Number of elements.
Definition at line 145 of file BlockAllocator.hpp.
The documentation for this struct was generated from the following file:
- Common/BlockAllocator.hpp