5 #ifndef __eigenpy_utils_is_aligned_hpp__ 6 #define __eigenpy_utils_is_aligned_hpp__ 9 inline bool is_aligned(
const void* ptr, std::size_t alignment) {
10 return (reinterpret_cast<std::size_t>(ptr) & (alignment - 1)) == 0;
bool is_aligned(const void *ptr, std::size_t alignment)