WPILibC++ 2024.3.2
wpi::detail::PunnedPointer< Ptr > Struct Template Reference

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

Public Member Functions

constexpr PunnedPointer (intptr_t i=0)
 
constexpr intptr_t asInt () const
 
constexpr operator intptr_t () const
 
constexpr PunnedPointeroperator= (intptr_t V)
 
Ptr * getPointerAddress ()
 
const Ptr * getPointerAddress () const
 

Constructor & Destructor Documentation

◆ PunnedPointer()

template<typename Ptr >
constexpr wpi::detail::PunnedPointer< Ptr >::PunnedPointer ( intptr_t  i = 0)
inlineexplicitconstexpr

Member Function Documentation

◆ asInt()

template<typename Ptr >
constexpr intptr_t wpi::detail::PunnedPointer< Ptr >::asInt ( ) const
inlineconstexpr

◆ getPointerAddress() [1/2]

template<typename Ptr >
Ptr * wpi::detail::PunnedPointer< Ptr >::getPointerAddress ( )
inline

◆ getPointerAddress() [2/2]

template<typename Ptr >
const Ptr * wpi::detail::PunnedPointer< Ptr >::getPointerAddress ( ) const
inline

◆ operator intptr_t()

template<typename Ptr >
constexpr wpi::detail::PunnedPointer< Ptr >::operator intptr_t ( ) const
inlineconstexpr

◆ operator=()

template<typename Ptr >
constexpr PunnedPointer & wpi::detail::PunnedPointer< Ptr >::operator= ( intptr_t  V)
inlineconstexpr

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