WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
wpi::PointerLikeTypeTraits< T * > Struct Template Reference

#include <wpi/PointerLikeTypeTraits.h>

Static Public Member Functions

static void * getAsVoidPointer (T *P)
 
static T * getFromVoidPointer (void *P)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable
 

Member Function Documentation

◆ getAsVoidPointer()

template<typename T >
static void * wpi::PointerLikeTypeTraits< T * >::getAsVoidPointer ( T * P)
inlinestatic

◆ getFromVoidPointer()

template<typename T >
static T * wpi::PointerLikeTypeTraits< T * >::getFromVoidPointer ( void * P)
inlinestatic

Member Data Documentation

◆ NumLowBitsAvailable

template<typename T >
int wpi::PointerLikeTypeTraits< T * >::NumLowBitsAvailable
staticconstexpr
Initial value:
=
detail::ConstantLog2<alignof(T)>::value

The documentation for this struct was generated from the following file: