LLVM 20.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::ValueIsPresent< std::optional< T > > Struct Template Reference

#include "llvm/Support/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)
 

Detailed Description

template<typename T>
struct llvm::ValueIsPresent< std::optional< T > >

Definition at line 609 of file Casting.h.

Member Typedef Documentation

◆ UnwrappedType

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

Definition at line 610 of file Casting.h.

Member Function Documentation

◆ isPresent()

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

Definition at line 611 of file Casting.h.

◆ unwrapValue()

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

Definition at line 614 of file Casting.h.


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