WPILibC++ 2024.3.2
wpi::simplify_type< From > Struct Template Reference

Define a template that can be specialized by smart pointers to reflect the fact that they are automatically dereferenced, and are not involved with the template selection process... the default implementation is a noop. More...

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

Public Types

using SimpleType = From
 

Static Public Member Functions

static SimpleTypegetSimplifiedValue (From &Val)
 

Detailed Description

template<typename From>
struct wpi::simplify_type< From >

Define a template that can be specialized by smart pointers to reflect the fact that they are automatically dereferenced, and are not involved with the template selection process... the default implementation is a noop.

Member Typedef Documentation

◆ SimpleType

template<typename From >
using wpi::simplify_type< From >::SimpleType = From

Member Function Documentation

◆ getSimplifiedValue()

template<typename From >
static SimpleType & wpi::simplify_type< From >::getSimplifiedValue ( From &  Val)
inlinestatic

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