MPD: HugeAllocation Class Reference

MPD 0.20.18

Public Member Functions
HugeAllocation Class Reference

Automatic huge memory allocation management. More...

`#include <HugeAllocator.hxx>`

## Public Member Functions
| HugeAllocation ()=default
| HugeAllocation (size_t _size)
| HugeAllocation (HugeAllocation &&src) noexcept
| ~HugeAllocation ()
HugeAllocation & | operator= (HugeAllocation &&src) noexcept
void | Discard () noexcept
void | reset () noexcept
void * | get () noexcept

## Detailed Description

Automatic huge memory allocation management.

Definition at line 117 of file HugeAllocator.hxx.

## Constructor & Destructor Documentation

## ◆ HugeAllocation() [1/3]

HugeAllocation::HugeAllocation | ( |  | ) |
| default

## ◆ HugeAllocation() [2/3]

HugeAllocation::HugeAllocation | ( | size_t | _size | ) |
| inline

Definition at line 124 of file HugeAllocator.hxx.

## ◆ HugeAllocation() [3/3]

HugeAllocation::HugeAllocation | ( | HugeAllocation && | src | ) |
| inlinenoexcept

Definition at line 127 of file HugeAllocator.hxx.

## ◆ ~HugeAllocation()

HugeAllocation::~HugeAllocation | ( |  | ) |
| inline

Definition at line 132 of file HugeAllocator.hxx.

## Member Function Documentation

## ◆ Discard()

void HugeAllocation::Discard | ( |  | ) |
| inlinenoexcept

Definition at line 143 of file HugeAllocator.hxx.

## ◆ get()

void* HugeAllocation::get | ( |  | ) |
| inlinenoexcept

Definition at line 154 of file HugeAllocator.hxx.

## ◆ operator=()

HugeAllocation& HugeAllocation::operator= | ( | HugeAllocation && | src | ) |
| inlinenoexcept

Definition at line 137 of file HugeAllocator.hxx.

## ◆ reset()

void HugeAllocation::reset | ( |  | ) |
| inlinenoexcept

Definition at line 147 of file HugeAllocator.hxx.

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

- util/HugeAllocator.hxx