|
| | Unexpected ()=default |
| |
| | Unexpected (const Unexpected &)=default |
| |
| | Unexpected (Unexpected &&)=default |
| |
| Unexpected & | operator= (const Unexpected &)=default |
| |
| Unexpected & | operator= (Unexpected &&)=default |
| |
| constexpr | Unexpected (const Error &err) |
| |
| constexpr | Unexpected (Error &&err) |
| |
| template<class Other , bool FB_CONCATENATE = false, typename std::enable_if< (FB_CONCATENATE(FB_CONCATENATE(Folly, Requires), __LINE__)||static_cast< bool >(std::is_constructible< Error, Other && >::value)), int >::type = 0> |
| constexpr | Unexpected (Unexpected< Other > that) |
| |
| template<class Other , bool FB_CONCATENATE = false, typename std::enable_if< (FB_CONCATENATE(FB_CONCATENATE(Folly, Requires), __LINE__)||static_cast< bool >(std::is_assignable< Error &, Other && >::value)), int >::type = 0> |
| Unexpected & | operator= (Unexpected< Other > that) |
| |
| Error & | error ()& |
| |
| const Error & | error () const & |
| |
| Error && | error ()&& |
| |
template<class Error>
class folly::Unexpected< Error >
Forward declarations
Unexpected - a helper type used to disambiguate the construction of Expected objects in the error state.
Definition at line 72 of file Expected.h.