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

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.

Member Function Documentation

◆ insert()

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

Definition at line 224 of file MemoryOps.cc.

References ranges::none_of().

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

◆ instance()

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

◆ remove()

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

Definition at line 230 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: