WPILibC++ 2024.3.2
PointerIntPair.h File Reference

This file defines the PointerIntPair class. More...

#include "wpi/Compiler.h"
#include "wpi/PointerLikeTypeTraits.h"
#include "wpi/type_traits.h"
#include <cassert>
#include <cstdint>
#include <cstring>
#include <limits>

Go to the source code of this file.

Classes

struct  wpi::detail::PunnedPointer< Ptr >
 
class  wpi::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info >
 PointerIntPair - This class implements a pair of a pointer and small integer. More...
 
struct  wpi::PointerIntPairInfo< PointerT, IntBits, PtrTraits >
 
struct  wpi::DenseMapInfo< PointerIntPair< PointerTy, IntBits, IntType >, void >
 
struct  wpi::PointerLikeTypeTraits< PointerIntPair< PointerTy, IntBits, IntType, PtrTraits > >
 
struct  std::tuple_size< wpi::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 
struct  std::tuple_element< I, wpi::PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > >
 

Namespaces

namespace  wpi
 
namespace  wpi::detail
 
namespace  std
 

Functions

template<std::size_t I, typename PointerTy , unsigned IntBits, typename IntType , typename PtrTraits , typename Info >
decltype(auto) wpi::get (const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > &Pair)
 

Detailed Description

This file defines the PointerIntPair class.