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

BlockAllocatorallocator
 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

Constructor & Destructor Documentation

◆ BlockDeallocator() [1/2]

playrho::BlockDeallocator::BlockDeallocator ( )
default

◆ BlockDeallocator() [2/2]

PLAYRHO_CONSTEXPR playrho::BlockDeallocator::BlockDeallocator ( BlockAllocator a,
size_type  n 
)
inlinenoexcept

Initializing constructor.

Definition at line 132 of file BlockAllocator.hpp.

Member Function Documentation

◆ operator()()

void playrho::BlockDeallocator::operator() ( void *  p)
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: