class MSVCPExpected

Declaration

template <typename T>
class MSVCPExpected { /* full declaration omitted */ };

Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:43

Templates

T

Method Overview

  • public MSVCPExpected<T>()
  • public MSVCPExpected<T>(MSVCPExpected<T> && Other)
  • public MSVCPExpected<T>(llvm::Error Err)
  • public template <typename OtherT> MSVCPExpected<T>(OtherT && Val, typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = nullptr)
  • public template <class OtherT> MSVCPExpected<T>(Expected<OtherT> && Other, typename std::enable_if<std::is_convertible<OtherT, T>::value>::type * = nullptr)
  • public template <class OtherT> MSVCPExpected<T>(Expected<OtherT> && Other, typename std::enable_if<!std::is_convertible<OtherT, T>::value>::type * = nullptr)

Methods

MSVCPExpected<T>()

Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:45

MSVCPExpected<T>(MSVCPExpected<T>&& Other)

Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:50

Parameters

MSVCPExpected<T>&& Other

MSVCPExpected<T>(llvm::Error Err)

Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:57

Parameters

llvm::Error Err

template <typename OtherT>
MSVCPExpected<T>(
    OtherT&& Val,
    typename std::enable_if<
        std::is_convertible<OtherT, T>::value>::
        type* = nullptr)

Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:60

Templates

OtherT

Parameters

OtherT&& Val
typename std::enable_if< std::is_convertible<OtherT, T>::value>::type* = nullptr

template <class OtherT>
MSVCPExpected<T>(
    Expected<OtherT>&& Other,
    typename std::enable_if<
        std::is_convertible<OtherT, T>::value>::
        type* = nullptr)

Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:67

Templates

OtherT

Parameters

Expected<OtherT>&& Other
typename std::enable_if< std::is_convertible<OtherT, T>::value>::type* = nullptr

template <class OtherT>
MSVCPExpected<T>(
    Expected<OtherT>&& Other,
    typename std::enable_if<
        !std::is_convertible<OtherT, T>::value>::
        type* = nullptr)

Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:74

Templates

OtherT

Parameters

Expected<OtherT>&& Other
typename std::enable_if< !std::is_convertible<OtherT, T>::value>::type* = nullptr