![]() |
LeechCraft
0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
|
#include "either.h"
Inheritance diagram for LC::Util::Either< L, R >:Public Types | |
| using | L_t = L |
| using | R_t = R |
Public Member Functions | |
| Either (FromStdExpected_t, std::expected< R, L > &&ex) | |
| Either ()=delete | |
| Either (R &&r) | |
| Either (const R &r) | |
| Either (Left< void >, const L &l) | |
| Either (const L &l) requires(!std | |
| Either (Left< L > &&left) | |
| template<typename LL > | |
| requires std::is_constructible_v< L, LL && > | Either (Left< LL > &&left) |
| Either (const Either &)=default | |
| Either (Either &&)=default | |
| Either & | operator= (const Either &)=default |
| Either & | operator= (Either &&)=default |
| bool | IsLeft () const |
| bool | IsRight () const |
| const L & | GetLeft () const |
| L & | GetLeft () |
| const R & | GetRight () const |
| R & | GetRight () |
| std::optional< L > | MaybeLeft () const |
| std::optional< R > | MaybeRight () const |
| template<typename F > | |
| R | ToRight (F &&f) const |
| template<typename F > | |
| auto | MapLeft (F &&f) const |
| template<typename F > | |
| auto | MapRight (F &&f) const |
Friends | |
| bool | operator== (const Either &e1, const Either &e2) |
| bool | operator!= (const Either &e1, const Either &e2) |
| using LC::Util::Either< L, R >::L_t = L |
| using LC::Util::Either< L, R >::R_t = R |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
Definition at line 93 of file either.h.
Referenced by LC::Util::InstanceFunctor< Either< L, R > >::Apply(), LC::Util::Either< QString, QList< QUrl > >::MaybeLeft(), LC::Util::Either< QString, QList< QUrl > >::ToRight(), and LC::Util::Visit().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 107 of file either.h.
Referenced by LC::Util::InstanceFunctor< Either< L, R > >::Apply(), LC::Util::Either< QString, QList< QUrl > >::MaybeRight(), LC::Util::Either< QString, QList< QUrl > >::ToRight(), and LC::Util::Visit().
Here is the caller graph for this function:
|
inline |
|
inline |
Definition at line 83 of file either.h.
Referenced by LC::Util::InstanceFunctor< Either< L, R > >::Apply(), LC::Util::Either< QString, QList< QUrl > >::GetLeft(), and LC::Util::Either< QString, QList< QUrl > >::MaybeLeft().
Here is the caller graph for this function:
|
inline |
Definition at line 88 of file either.h.
Referenced by LC::Util::Either< QString, QList< QUrl > >::GetRight(), LC::Util::Either< QString, QList< QUrl > >::IsLeft(), LC::Util::Either< QString, QList< QUrl > >::MaybeRight(), LC::Util::Either< QString, QList< QUrl > >::ToRight(), and LC::Util::Visit().
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |