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, std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr)
- public template <class OtherT> MSVCPExpected<T>(Expected<OtherT> && Other, std::enable_if_t<std::is_convertible<OtherT, T>::value> * = nullptr)
- public template <class OtherT> MSVCPExpected<T>(Expected<OtherT> && Other, std::enable_if_t<!std::is_convertible<OtherT, T>::value> * = nullptr)
Methods
¶MSVCPExpected<T>()
MSVCPExpected<T>()
Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:45
¶MSVCPExpected<T>(MSVCPExpected<T>&& Other)
MSVCPExpected<T>(MSVCPExpected<T>&& Other)
Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:50
Parameters
- MSVCPExpected<T>&& Other
¶MSVCPExpected<T>(llvm::Error Err)
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,
std::enable_if_t<
std::is_convertible<OtherT, T>::value>* =
nullptr)
template <typename OtherT>
MSVCPExpected<T>(
OtherT&& Val,
std::enable_if_t<
std::is_convertible<OtherT, T>::value>* =
nullptr)
Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:60
Templates
- OtherT
Parameters
- OtherT&& Val
- std::enable_if_t< std::is_convertible<OtherT, T>::value>* = nullptr
¶template <class OtherT>
MSVCPExpected<T>(
Expected<OtherT>&& Other,
std::enable_if_t<
std::is_convertible<OtherT, T>::value>* =
nullptr)
template <class OtherT>
MSVCPExpected<T>(
Expected<OtherT>&& Other,
std::enable_if_t<
std::is_convertible<OtherT, T>::value>* =
nullptr)
Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:66
Templates
- OtherT
Parameters
- Expected<OtherT>&& Other
- std::enable_if_t< std::is_convertible<OtherT, T>::value>* = nullptr
¶template <class OtherT>
MSVCPExpected<T>(
Expected<OtherT>&& Other,
std::enable_if_t<
!std::is_convertible<OtherT, T>::value>* =
nullptr)
template <class OtherT>
MSVCPExpected<T>(
Expected<OtherT>&& Other,
std::enable_if_t<
!std::is_convertible<OtherT, T>::value>* =
nullptr)
Declared at: llvm/include/llvm/Support/MSVCErrorWorkarounds.h:72
Templates
- OtherT
Parameters
- Expected<OtherT>&& Other
- std::enable_if_t< !std::is_convertible<OtherT, T>::value>* = nullptr