一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
ein::c_munmap Struct Reference

std::unique_ptr Deleter for memory mapped data More...

#include <memory.hpp>

Public Member Functions

void operator() (void *p) const noexcept
 

Public Attributes

size_t size
 

Detailed Description

std::unique_ptr Deleter for memory mapped data

Definition at line 26 of file memory.hpp.

Member Function Documentation

◆ operator()()

void ein::c_munmap::operator() ( void * p) const
inlinenoexcept[[always_inline]][[artificial]]
Precondition
p is a memory region mapped by mmap size bytes long
Postcondition
p has been munmapped

Definition at line 32 of file memory.hpp.

References size.

Member Data Documentation

◆ size

size_t ein::c_munmap::size

Definition at line 27 of file memory.hpp.

Referenced by operator()().


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