openMSX
Public Member Functions | List of all members
monotonic_allocator Class Reference

#include <monotonic_allocator.hh>

Public Member Functions

 monotonic_allocator ()=default
 
 monotonic_allocator (size_t initialSize)
 
 monotonic_allocator (void *buffer, size_t bufferSize)
 
 monotonic_allocator (const monotonic_allocator &)=delete
 
 monotonic_allocator (monotonic_allocator &&)=delete
 
monotonic_allocatoroperator= (const monotonic_allocator &)=delete
 
monotonic_allocatoroperator= (monotonic_allocator &&)=delete
 
 ~monotonic_allocator ()
 
void * allocate (size_t bytes, size_t alignment)
 

Detailed Description

Definition at line 14 of file monotonic_allocator.hh.

Constructor & Destructor Documentation

◆ monotonic_allocator() [1/5]

monotonic_allocator::monotonic_allocator ( )
default

◆ monotonic_allocator() [2/5]

monotonic_allocator::monotonic_allocator ( size_t  initialSize)
inlineexplicit

Definition at line 19 of file monotonic_allocator.hh.

◆ monotonic_allocator() [3/5]

monotonic_allocator::monotonic_allocator ( void *  buffer,
size_t  bufferSize 
)
inline

Definition at line 25 of file monotonic_allocator.hh.

◆ monotonic_allocator() [4/5]

monotonic_allocator::monotonic_allocator ( const monotonic_allocator )
delete

◆ monotonic_allocator() [5/5]

monotonic_allocator::monotonic_allocator ( monotonic_allocator &&  )
delete

◆ ~monotonic_allocator()

monotonic_allocator::~monotonic_allocator ( )
inline

Definition at line 38 of file monotonic_allocator.hh.

Member Function Documentation

◆ allocate()

void * monotonic_allocator::allocate ( size_t  bytes,
size_t  alignment 
)
inline

◆ operator=() [1/2]

monotonic_allocator & monotonic_allocator::operator= ( const monotonic_allocator )
delete

◆ operator=() [2/2]

monotonic_allocator & monotonic_allocator::operator= ( monotonic_allocator &&  )
delete

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