|
LightsprintSDK 2021.08.08
|
#include <RRMemory.h>
Public Member Functions | |
| void * | operator new (std::size_t n) |
| void * | operator new[] (std::size_t n) |
| void | operator delete (void *p, std::size_t n) |
| void | operator delete[] (void *p, std::size_t n) |
Public Member Functions inherited from rr::RRUniformlyAllocated | |
| void * | operator new (std::size_t n) |
| void * | operator new[] (std::size_t n) |
| void | operator delete (void *p, std::size_t n) |
| void | operator delete[] (void *p, std::size_t n) |
When used as base class, instances on heap are 16byte aligned for SIMD instructions. Note that this does not align static and stack instances.
| void * rr::RRAligned::operator new | ( | std::size_t | n | ) |
Allocates aligned space for instance of any derived class.
| void * rr::RRAligned::operator new[] | ( | std::size_t | n | ) |
Allocates aligned space for array of instances of any derived class.
| void rr::RRAligned::operator delete | ( | void * | p, |
| std::size_t | n | ||
| ) |
Frees aligned space allocated by new.
| void rr::RRAligned::operator delete[] | ( | void * | p, |
| std::size_t | n | ||
| ) |
Frees aligned space allocated by new[].