Memory module
Memory management utilities.
Files
- file bn_alignment.h
- file bn_memory.h
- file bn_memory_alias.h
- file bn_unique_ptr.h
Namespaces
- namespace bn
- Main Butano namespace.
- namespace bn::memory
- Memory related functions.
Classes
-
template<typename Type>struct bn::default_delete
- Default deleter.
Functions
Function documentation
#include <bn_alignment.h>
template<int Bytes>
bool aligned(const void* pointer)
Indicates if the given void
pointer is aligned to the given Bytes.
#include <bn_alignment.h>
template<int Bytes, typename Type>
bool aligned(const Type* pointer)
Indicates if the given Type pointer is aligned to the given Bytes.