Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Types | Public Member Functions | Public Attributes | List of all members
box2d::BlockDeallocator Struct Reference

Blockl Deallocator. More...

#include <BlockAllocator.hpp>

Public Types

using size_type = BlockAllocator::size_type
 

Public Member Functions

 BlockDeallocator ()=default
 
constexpr BlockDeallocator (BlockAllocator *a, size_type n) noexcept
 
void operator() (void *p) noexcept
 

Public Attributes

BlockAllocatorallocator
 
size_type nelem
 

Detailed Description

Blockl Deallocator.

Member Typedef Documentation

◆ size_type

Constructor & Destructor Documentation

◆ BlockDeallocator() [1/2]

box2d::BlockDeallocator::BlockDeallocator ( )
default

◆ BlockDeallocator() [2/2]

constexpr box2d::BlockDeallocator::BlockDeallocator ( BlockAllocator a,
size_type  n 
)
inlinenoexcept

Member Function Documentation

◆ operator()()

void box2d::BlockDeallocator::operator() ( void *  p)
inlinenoexcept

Member Data Documentation

◆ allocator

BlockAllocator* box2d::BlockDeallocator::allocator

◆ nelem

size_type box2d::BlockDeallocator::nelem

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