WPILibC++ 2024.1.1-beta-4
wpi::CastInfo< To, PointerUnion< PTs... > > Struct Template Reference

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

Inheritance diagram for wpi::CastInfo< To, PointerUnion< PTs... > >:
wpi::DefaultDoCastIfPossible< To, PointerUnion< PTs... >, CastInfo< To, PointerUnion< PTs... > > >

Public Types

using From = PointerUnion< PTs... >
 
using Impl = CastInfoPointerUnionImpl< PTs... >
 

Static Public Member Functions

static bool isPossible (From &f)
 
static To doCast (From &f)
 
static To castFailed ()
 
- Static Public Member Functions inherited from wpi::DefaultDoCastIfPossible< To, PointerUnion< PTs... >, CastInfo< To, PointerUnion< PTs... > > >
static To doCastIfPossible (PointerUnion< PTs... > f)
 

Member Typedef Documentation

◆ From

template<typename To , typename... PTs>
using wpi::CastInfo< To, PointerUnion< PTs... > >::From = PointerUnion<PTs...>

◆ Impl

template<typename To , typename... PTs>
using wpi::CastInfo< To, PointerUnion< PTs... > >::Impl = CastInfoPointerUnionImpl<PTs...>

Member Function Documentation

◆ castFailed()

template<typename To , typename... PTs>
static To wpi::CastInfo< To, PointerUnion< PTs... > >::castFailed ( )
inlinestatic

◆ doCast()

template<typename To , typename... PTs>
static To wpi::CastInfo< To, PointerUnion< PTs... > >::doCast ( From f)
inlinestatic

◆ isPossible()

template<typename To , typename... PTs>
static bool wpi::CastInfo< To, PointerUnion< PTs... > >::isPossible ( From f)
inlinestatic

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