WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
PointerIntPair.hpp File Reference

This file defines the PointerIntPair class. More...

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

Go to the source code of this file.

Classes

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

Namespaces

namespace  wpi
namespace  wpi::util
namespace  wpi::util::detail
 These are wrappers over isa* function that allow them to be used in generic algorithms such as wpi::util:all_of, wpi::util::none_of, etc.
namespace  std

Functions

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

Detailed Description

This file defines the PointerIntPair class.