LLVM: llvm::FailureOr< T > Class Template Reference (original) (raw)

This class provides support for representing a failure result, or a valid value of type T. More...

#include "[llvm/Support/LogicalResult.h](LogicalResult%5F8h%5Fsource.html)"

Public Member Functions
template<typename U, std::enable_if_t< std::is_constructible< T, U >::value > * = nullptr>

template<typename T>
class llvm::FailureOr< T >

This class provides support for representing a failure result, or a valid value of type T.

This allows for integrating with LogicalResult, while also providing a value on the success path.

Definition at line 76 of file LogicalResult.h.

FailureOr() [2/5]

FailureOr() [3/5]

FailureOr() [4/5]

FailureOr() [5/5]

template<typename T>

template<typename U, std::enable_if_t< std::is_constructible< T, U >::value > * = nullptr>

operator LogicalResult()


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