![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include <cstddef>#include <cstdint>
Include dependency graph for ptr.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | shambase |
| namespace for basic c++ utilities | |
Functions | |
| bool | shambase::is_aligned (const void *ptr, size_t alignment) noexcept |
| Check if a pointer is aligned with the given alignment. | |
| template<class T > | |
| bool | shambase::is_aligned (const void *ptr) noexcept |
| Check if a pointer is aligned with the given type. | |
Definition in file ptr.hpp.