WPILibC++ 2024.1.1-beta-4
wpi::ValueIsPresent< std::optional< T > > Struct Template Reference

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

Public Types

using UnwrappedType = T
 

Static Public Member Functions

static bool isPresent (const std::optional< T > &t)
 
static decltype(auto) unwrapValue (std::optional< T > &t)
 

Member Typedef Documentation

◆ UnwrappedType

template<typename T >
using wpi::ValueIsPresent< std::optional< T > >::UnwrappedType = T

Member Function Documentation

◆ isPresent()

template<typename T >
static bool wpi::ValueIsPresent< std::optional< T > >::isPresent ( const std::optional< T > &  t)
inlinestatic

◆ unwrapValue()

template<typename T >
static decltype(auto) wpi::ValueIsPresent< std::optional< T > >::unwrapValue ( std::optional< T > &  t)
inlinestatic

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