LLVM 22.0.0git
llvm::ValueIsPresent< std::optional< T > > Struct Template Reference

#include "llvm/Support/Casting.h"

Inheritance diagram for llvm::ValueIsPresent< std::optional< T > >:
[legend]

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>
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>
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: