WPILibC++ 2024.3.2
|
This file defines the PointerUnion class, which is a discriminated union of pointer types. More...
#include "wpi/DenseMapInfo.h"
#include "wpi/PointerIntPair.h"
#include "wpi/Casting.h"
#include "wpi/PointerLikeTypeTraits.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <type_traits>
Go to the source code of this file.
Namespaces | |
namespace | wpi |
namespace | wpi::detail |
namespace | wpi::pointer_union_detail |
Functions | |
constexpr int | wpi::pointer_union_detail::bitsRequired (unsigned n) |
Determine the number of bits required to store integers with values < n. More... | |
template<typename... Ts> | |
constexpr int | wpi::pointer_union_detail::lowBitsAvailable () |
template<typename ... PTs> | |
bool | wpi::operator== (PointerUnion< PTs... > lhs, PointerUnion< PTs... > rhs) |
template<typename ... PTs> | |
bool | wpi::operator!= (PointerUnion< PTs... > lhs, PointerUnion< PTs... > rhs) |
template<typename ... PTs> | |
bool | wpi::operator< (PointerUnion< PTs... > lhs, PointerUnion< PTs... > rhs) |
This file defines the PointerUnion class, which is a discriminated union of pointer types.