Template Function c4::is_aligned

Function Documentation

Warning

doxygenfunction: Unable to resolve function “c4::is_aligned” with arguments “(T*, uintptr_t)”. Candidate function could not be parsed. Parsing error is Error when parsing function declaration. If the function has no return type: Error in declarator or parameters-and-qualifiers Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 35] template<class T> C4_ALWAYS_INLINE C4_CONST bool is_aligned (T *ptr, uintptr_t alignment=alignof(T)) ———————————–^ If the function has a return type: Error in declarator or parameters-and-qualifiers If pointer to member declarator: Invalid C++ declaration: Expected ‘::’ in pointer to member (function). [error at 44] template<class T> C4_ALWAYS_INLINE C4_CONST bool is_aligned (T *ptr, uintptr_t alignment=alignof(T)) ——————————————–^ If declarator-id: Invalid C++ declaration: Expecting “(” in parameters-and-qualifiers. [error at 44] template<class T> C4_ALWAYS_INLINE C4_CONST bool is_aligned (T *ptr, uintptr_t alignment=alignof(T)) ——————————————–^