LLVM 22.0.0git
llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > > Struct Template Reference

#include "llvm/Support/Casting.h"

Inheritance diagram for llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >:
[legend]

Public Types

using UnwrappedType = T

Static Public Member Functions

static bool isPresent (const T &t)
static decltype(auto) unwrapValue (T &t)

Detailed Description

template<typename T>
struct llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >

Definition at line 614 of file Casting.h.

Member Typedef Documentation

◆ UnwrappedType

template<typename T>
using llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >::UnwrappedType = T

Definition at line 615 of file Casting.h.

Member Function Documentation

◆ isPresent()

template<typename T>
bool llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >::isPresent ( const T & t)
inlinestatic

Definition at line 616 of file Casting.h.

References T.

◆ unwrapValue()

template<typename T>
decltype(auto) llvm::ValueIsPresent< T, std::enable_if_t< IsNullable< T > > >::unwrapValue ( T & t)
inlinestatic

Definition at line 617 of file Casting.h.

References T.


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