#include <source_location>
#include <QtDebug>
#include <util/sll/either.h>
#include <util/sll/void.h>
#include "task.h"
Go to the source code of this file.
|
| 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 > |
| auto | LC::Util::WithHandler (const Either< L, R > &either, IgnoreLeft) |
| |
| template<typename T > |
| Either< Void, T > | LC::Util::NonEmpty (const T &t, auto &&msg, std::source_location loc=std::source_location::current()) |
| |
| template<typename T , typename... Msgs> |
| Either< Void, T > | LC::Util::NonEmpty (const T &t, const std::tuple< Msgs... > &msgsTuple, std::source_location loc=std::source_location::current()) |
| |
| template<typename L , typename R > |
| Util::detail::EitherAwaiter< L, R, std::identity > | LC::operator co_await (const Util::Either< L, R > &either) |
| |