WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
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 <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: