lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Aligns derived classes according to the given alignment template argument. More...
#include <aligned.h>
Public Member Functions | |
LEAN_INLINE void * | operator new (size_t size) |
Allocates an aligned block of memory of the given size. | |
LEAN_INLINE void | operator delete (void *memory) |
Frees the given block of memory. | |
LEAN_STATIC_ASSERT_MSG_ALT (Alignment &~Alignment,"Alignment is required to be power of two.", Alignment_is_required_to_be_power_of_two) |
Aligns derived classes according to the given alignment template argument.