|
proxygen
|
#include <Expected.h>
Public Member Functions | |
| constexpr | ExpectedUnion (EmptyTag) noexcept |
| template<class... Vs> | |
| constexpr | ExpectedUnion (ValueTag, Vs &&...vs) noexcept(noexcept(Value(static_cast< Vs && >(vs)...))) |
| template<class... Es> | |
| constexpr | ExpectedUnion (ErrorTag, Es &&...es) noexcept(noexcept(Error(static_cast< Es && >(es)...))) |
| ExpectedUnion (const ExpectedUnion &) | |
| ExpectedUnion (ExpectedUnion &&) noexcept | |
| ExpectedUnion & | operator= (const ExpectedUnion &) |
| ExpectedUnion & | operator= (ExpectedUnion &&) noexcept |
| ~ExpectedUnion () | |
| Value & | value ()& |
| const Value & | value () const & |
| Value && | value ()&& |
| Error & | error ()& |
| const Error & | error () const & |
| Error && | error ()&& |
Public Attributes | |
| union { | |
| Value value_ | |
| Error error_ | |
| char ch_ {} | |
| }; | |
| Which | which_ = Which::eEmpty |
Definition at line 265 of file Expected.h.
|
inlineexplicitnoexcept |
Definition at line 273 of file Expected.h.
|
inlineexplicitnoexcept |
Definition at line 275 of file Expected.h.
|
inlineexplicitnoexcept |
Definition at line 279 of file Expected.h.
|
inline |
Definition at line 282 of file Expected.h.
|
inlinenoexcept |
Definition at line 283 of file Expected.h.
|
inline |
Definition at line 290 of file Expected.h.
|
inline |
Definition at line 300 of file Expected.h.
|
inline |
Definition at line 303 of file Expected.h.
|
inline |
|
inline |
Definition at line 284 of file Expected.h.
|
inlinenoexcept |
Definition at line 287 of file Expected.h.
|
inline |
Definition at line 291 of file Expected.h.
|
inline |
Definition at line 294 of file Expected.h.
|
inline |
| union { ... } |
| char folly::expected_detail::ExpectedUnion< Value, Error >::ch_ {} |
Definition at line 269 of file Expected.h.
| Error folly::expected_detail::ExpectedUnion< Value, Error >::error_ |
Definition at line 268 of file Expected.h.
| Value folly::expected_detail::ExpectedUnion< Value, Error >::value_ |
Definition at line 267 of file Expected.h.
| Which folly::expected_detail::ExpectedUnion< Value, Error >::which_ = Which::eEmpty |
Definition at line 271 of file Expected.h.