template<std::size_t Alignment>
struct Vc::AlignedBase< Alignment >
Helper class to ensure a given alignment.
This class reimplements the new and delete operators to align objects allocated on the heap suitably with the specified alignment Alignment.
- See also
- Vc::VectorAlignedBase
-
Vc::MemoryAlignedBase
Definition at line 67 of file alignedbase.h.
#include <alignedbase.h>
|
|
|
void * | operator new (size_t size) |
| | Allocates correctly aligned memory.
|
| |
|
void * | operator new (size_t, void *p) |
| | Returns p.
|
| |
|
void * | operator new[] (size_t size) |
| | Allocates correctly aligned memory.
|
| |
|
void * | operator new[] (size_t, void *p) |
| | Returns p.
|
| |
|
void | operator delete (void *ptr, size_t) |
| | Frees aligned memory.
|
| |
|
void | operator delete (void *, void *) |
| | Does nothing.
|
| |
|
void | operator delete[] (void *ptr, size_t) |
| | Frees aligned memory.
|
| |
|
void | operator delete[] (void *, void *) |
| | Does nothing.
|
| |
The documentation for this struct was generated from the following file: