WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::util::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/util/type_traits.hpp>

Public Types

using type = const T

Detailed Description

template<typename T, typename Enable = void>
struct wpi::util::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::util::add_const_past_pointer< T, Enable >::type = const T

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