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

If T is a pointer, just return it. If it is not, return T&. More...

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

Public Types

using type = T &
 

Detailed Description

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

If T is a pointer, just return it. If it is not, return T&.

Member Typedef Documentation

◆ type

template<typename T , typename Enable = void>
using wpi::add_lvalue_reference_if_not_pointer< T, Enable >::type = T &

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