WPILibC++ 2024.1.1-beta-4
wpi::add_const_past_pointer< T, Enable > Struct Template Reference

If T is a pointer to X, return a pointer to const X. More...

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

Public Types

using type = const T
 

Detailed Description

template<typename T, typename Enable = void>
struct wpi::add_const_past_pointer< T, Enable >

If T is a pointer to X, return a pointer to const X.

If it is not, return const T.

Member Typedef Documentation

◆ type

template<typename T , typename Enable = void>
using wpi::add_const_past_pointer< T, Enable >::type = const T

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