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