KTL
|
#include <cstddef>
#include <memory>
Go to the source code of this file.
Namespaces | |
ktl | |
ktl::detail | |
Macros | |
#define | KTL_GLIBC_MALLOC_ALREADY_ALIGNED 0 |
#define | KTL_FREEBSD_MALLOC_ALREADY_ALIGNED 0 |
#define | KTL_HAS_MALLOC_ALIGNED 0 |
#define | KTL_HAS_POSIX_MEMALIGN 0 |
#define | KTL_HAS_MM_MALLOC 0 |
Functions | |
void * | ktl::detail::aligned_malloc (size_t size, size_t alignment) noexcept |
void | ktl::detail::aligned_free (void *ptr) noexcept |
template<typename T , typename... Args> | |
T * | ktl::detail::aligned_new (size_t alignment, Args &&... args) noexcept(noexcept(T(std::declval< Args >()...))) |
template<typename T > | |
void | ktl::detail::aligned_delete (T *p) noexcept(noexcept(p->~T())) |
#define KTL_FREEBSD_MALLOC_ALREADY_ALIGNED 0 |
#define KTL_GLIBC_MALLOC_ALREADY_ALIGNED 0 |
#define KTL_HAS_MALLOC_ALIGNED 0 |
#define KTL_HAS_MM_MALLOC 0 |
#define KTL_HAS_POSIX_MEMALIGN 0 |