Memory Static Function Library. More...
#include <MemoryLibrary.h>
Static Public Member Functions | |
| template<class integral > | |
| static constexpr bool | is_aligned (integral x, size_t a) noexcept |
| Determine is memory size aligned with specific value. | |
| template<class integral > | |
| static constexpr integral | align_up (integral x, size_t a) noexcept |
| Align up a memory size aligned with specific value. | |
| template<class integral > | |
| static constexpr integral | align_down (integral x, size_t a) noexcept |
| Align down a memory size aligned with specific value. | |
Memory Static Function Library.
Definition at line 15 of file MemoryLibrary.h.