LLVM 22.0.0git
llvm::detail::CastIfPresentFunc< U > Struct Template Reference

#include "llvm/Support/Casting.h"

Public Member Functions

template<typename T>
decltype(auto) operator() (T &&Val) const

Detailed Description

template<typename U>
struct llvm::detail::CastIfPresentFunc< U >

Definition at line 843 of file Casting.h.

Member Function Documentation

◆ operator()()

template<typename U>
template<typename T>
decltype(auto) llvm::detail::CastIfPresentFunc< U >::operator() ( T && Val) const
inline

Definition at line 844 of file Casting.h.

References llvm::cast_if_present(), and T.


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