![]() |
WPILibC++ 2025.3.2
|
Provide a default specialization for function pointers that assumes 4-byte alignment. More...
#include <wpi/PointerLikeTypeTraits.h>
Additional Inherited Members | |
![]() | |
static void * | getAsVoidPointer (ReturnT(*)(ParamTs...) P) |
static ReturnT(*)(ParamTs...) | getFromVoidPointer (void *P) |
![]() | |
static constexpr int | NumLowBitsAvailable |
Provide a default specialization for function pointers that assumes 4-byte alignment.
We assume here that functions used with this are always at least 4-byte aligned. This means that, for example, thumb functions won't work or systems with weird unaligned function pointers won't work. But all practical systems we support satisfy this requirement.