LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
either.h File Reference
#include <util/sll/either.h>
#include "task.h"
+ Include dependency graph for either.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LC::Util::IgnoreLeft
 
struct  LC::Util::detail::EitherAwaiter< L, R, ErrorHandler >
 

Namespaces

namespace  LC
 
namespace  LC::Util
 
namespace  LC::Util::detail
 

Functions

template<typename Promise>
void LC::Util::detail::TerminateLeftyCoroutine (std::coroutine_handle< Promise > handle, const auto &error)
 
template<typename L, typename R, typename F>
requires std::invocable<F, const L&>
detail::EitherAwaiter< L, R, F > LC::Util::WithHandler (const Either< L, R > &either, F &&errorHandler)
 
template<typename L, typename R>
Util::detail::EitherAwaiter< L, R, std::identity > LC::operator co_await (const Util::Either< L, R > &either)