vSMC
v3.0.0
Scalable Monte Carlo
|
Aligned memory using std::malloc
and std::free
More...
#include <vsmc/utility/aligned_memory.hpp>
Static Public Member Functions | |
static void | aligned_free (void *ptr) noexcept |
static void * | aligned_malloc (std::size_t n, std::size_t alignment) noexcept |
Aligned memory using std::malloc
and std::free
Memory allocated through this class is aligned but some bytes might be wasted in each allocation.
Definition at line 172 of file aligned_memory.hpp.
|
inlinestaticnoexcept |
Definition at line 195 of file aligned_memory.hpp.
|
inlinestaticnoexcept |
Definition at line 175 of file aligned_memory.hpp.