emlabcpp
modern opinionated embedded C++ library
util.h File Reference
#include <bit>
#include <cstddef>
#include <cstdint>
+ Include dependency graph for util.h:

Go to the source code of this file.

Namespaces

 emlabcpp
 MIT License.
 
 emlabcpp::pmr
 MIT License.
 

Functions

constexpr std::uintptr_t emlabcpp::pmr::align_addr (std::uintptr_t const addr, std::size_t const alignment)
 
void * emlabcpp::pmr::align (void *const ptr, std::size_t const alignment)
 TODO: this needs tests. More...