|
Mjolnir Core
Core functionality of the Mjolnir API
|
Contains multiple utility functions for pointers. More...


Go to the source code of this file.
Functions | |
| template<typename T_Type = void> | |
| auto | integer_to_pointer (UPT integer) noexcept -> T_Type * |
| Turn an integer into a pointer of the chosen type. More... | |
| template<UST t_alignment, typename T_Type > | |
| auto | is_aligned (const volatile T_Type *pointer) noexcept -> bool |
| Check if a passed pointer is aligned. More... | |
| template<typename T_Type > | |
| auto | is_aligned (const volatile T_Type *pointer, UST alignment) noexcept -> bool |
| Check if a passed pointer is aligned. More... | |
| template<UST t_alignment, typename T_Type > | |
| auto | misalignment (const volatile T_Type *pointer) noexcept -> UST |
| Calculate the misalignment of a pointer. More... | |
| template<typename T_Type > | |
| auto | misalignment (const volatile T_Type *pointer, UST alignment) noexcept -> UST |
| Calculate the misalignment of a pointer. More... | |
| template<typename T_Type > | |
| auto | pointer_to_integer (const volatile T_Type *pointer) noexcept -> UPT |
| Turn a pointer into an integer. More... | |
Contains multiple utility functions for pointers.