openMSX
Public Member Functions | Static Public Member Functions | List of all members
openmsx::MemoryOps::AllocMap Class Reference

Aligned memory (de)allocation. More...

Public Member Functions

 AllocMap (const AllocMap &)=delete
 
AllocMapoperator= (const AllocMap &)=delete
 
void insert (void *, void *unaligned)
 
void * remove (void *)
 

Static Public Member Functions

static AllocMapinstance ()
 

Detailed Description

Aligned memory (de)allocation.

Definition at line 216 of file MemoryOps.cc.

Constructor & Destructor Documentation

◆ AllocMap()

openmsx::MemoryOps::AllocMap::AllocMap ( const AllocMap )
delete

Member Function Documentation

◆ insert()

void openmsx::MemoryOps::AllocMap::insert ( void *  ,
void *  unaligned 
)
inline

Definition at line 227 of file MemoryOps.cc.

References ranges::none_of().

Referenced by openmsx::MemoryOps::mallocAligned().

◆ instance()

static AllocMap& openmsx::MemoryOps::AllocMap::instance ( )
inlinestatic

◆ operator=()

AllocMap& openmsx::MemoryOps::AllocMap::operator= ( const AllocMap )
delete

◆ remove()

void* openmsx::MemoryOps::AllocMap::remove ( void *  )
inline

Definition at line 233 of file MemoryOps.cc.

References move_pop_back(), and rfind_if_unguarded().

Referenced by openmsx::MemoryOps::freeAligned().


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