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_allocatoroperator= (const 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/4]

monotonic_allocator::monotonic_allocator ( )
default

◆ monotonic_allocator() [2/4]

monotonic_allocator::monotonic_allocator ( size_t  initialSize)
inline

Definition at line 19 of file monotonic_allocator.hh.

◆ monotonic_allocator() [3/4]

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

Definition at line 25 of file monotonic_allocator.hh.

◆ monotonic_allocator() [4/4]

monotonic_allocator::monotonic_allocator ( const monotonic_allocator )
delete

◆ ~monotonic_allocator()

monotonic_allocator::~monotonic_allocator ( )
inline

Definition at line 36 of file monotonic_allocator.hh.

Member Function Documentation

◆ allocate()

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

◆ operator=()

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

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