WPILibC++ 2024.3.2
PointerLikeTypeTraits.h File Reference
#include <cassert>
#include <cstdint>
#include <type_traits>

Go to the source code of this file.

Classes

struct  wpi::detail::ConstantLog2< N >
 A tiny meta function to compute the log2 of a compile time constant. More...
 
struct  wpi::detail::ConstantLog2< 1 >
 
struct  wpi::detail::HasPointerLikeTypeTraits< T, U >
 
struct  wpi::detail::HasPointerLikeTypeTraits< T, decltype((sizeof(PointerLikeTypeTraits< T >)+sizeof(T)), void())>
 
struct  wpi::detail::IsPointerLike< T >
 
struct  wpi::detail::IsPointerLike< T * >
 
struct  wpi::PointerLikeTypeTraits< T * >
 
struct  wpi::PointerLikeTypeTraits< void * >
 
struct  wpi::PointerLikeTypeTraits< const T >
 
struct  wpi::PointerLikeTypeTraits< const T * >
 
struct  wpi::PointerLikeTypeTraits< uintptr_t >
 
struct  wpi::FunctionPointerLikeTypeTraits< Alignment, FunctionPointerT >
 Provide suitable custom traits struct for function pointers. More...
 
struct  wpi::PointerLikeTypeTraits< ReturnT(*)(ParamTs...)>
 Provide a default specialization for function pointers that assumes 4-byte alignment. More...
 

Namespaces

namespace  wpi
 
namespace  wpi::detail