WPILibC++ 2025.3.2
Loading...
Searching...
No Matches
wpi::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > > Struct Template Reference

#include <wpi/PointerIntPair.h>

Static Public Member Functions

static void * getAsVoidPointer (const PointerIntPair< PointerTy, IntBits, IntType > &P)
 
static PointerIntPair< PointerTy, IntBits, IntType > getFromVoidPointer (void *P)
 
static PointerIntPair< PointerTy, IntBits, IntType > getFromVoidPointer (const void *P)
 

Static Public Attributes

static constexpr int NumLowBitsAvailable
 

Member Function Documentation

◆ getAsVoidPointer()

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
static void * wpi::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::getAsVoidPointer ( const PointerIntPair< PointerTy, IntBits, IntType > & P)
inlinestatic

◆ getFromVoidPointer() [1/2]

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
static PointerIntPair< PointerTy, IntBits, IntType > wpi::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::getFromVoidPointer ( const void * P)
inlinestatic

◆ getFromVoidPointer() [2/2]

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
static PointerIntPair< PointerTy, IntBits, IntType > wpi::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::getFromVoidPointer ( void * P)
inlinestatic

Member Data Documentation

◆ NumLowBitsAvailable

template<typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits >
int wpi::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >::NumLowBitsAvailable
staticconstexpr
Initial value:
=
PtrTraits::NumLowBitsAvailable - IntBits

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