WPILibC++ 2024.1.1-beta-4
wpi::pointer_union_detail::PointerUnionUIntTraits< PTs > Class Template Reference

Provide PointerLikeTypeTraits for void* that is used by PointerUnion for the template arguments. More...

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/PointerUnion.h>

Static Public Member Functions

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

Static Public Attributes

static constexpr int NumLowBitsAvailable = lowBitsAvailable<PTs...>()
 

Detailed Description

template<typename ... PTs>
class wpi::pointer_union_detail::PointerUnionUIntTraits< PTs >

Provide PointerLikeTypeTraits for void* that is used by PointerUnion for the template arguments.

Member Function Documentation

◆ getAsVoidPointer()

template<typename ... PTs>
static void * wpi::pointer_union_detail::PointerUnionUIntTraits< PTs >::getAsVoidPointer ( void *  P)
inlinestatic

◆ getFromVoidPointer()

template<typename ... PTs>
static void * wpi::pointer_union_detail::PointerUnionUIntTraits< PTs >::getFromVoidPointer ( void *  P)
inlinestatic

Member Data Documentation

◆ NumLowBitsAvailable

template<typename ... PTs>
constexpr int wpi::pointer_union_detail::PointerUnionUIntTraits< PTs >::NumLowBitsAvailable = lowBitsAvailable<PTs...>()
staticconstexpr

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