openMSX
Classes | Namespaces | Functions
MemBuffer.hh File Reference
#include "MemoryOps.hh"
#include "alignof.hh"
#include <algorithm>
#include <new>
#include <cstdlib>
#include <cassert>
Include dependency graph for MemBuffer.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openmsx::MemBuffer< T, ALIGNMENT >
 This class manages the lifetime of a block of memory. More...
 

Namespaces

 openmsx
 Thanks to enen for testing this on a real cartridge:
 

Functions

template<typename T >
void std::swap (openmsx::MemBuffer< T > &l, openmsx::MemBuffer< T > &r) noexcept
 

Function Documentation

◆ swap()

template<typename T >
void std::swap ( openmsx::MemBuffer< T > &  l,
openmsx::MemBuffer< T > &  r 
)
noexcept

Definition at line 211 of file MemBuffer.hh.