![]() |
LeechCraft 0.6.70-18808-g3467692359
Modular cross-platform feature rich live environment.
|
#include <expected>#include <optional>#include <type_traits>#include <variant>#include "overloaded.h"Go to the source code of this file.
Classes | |
| struct | LC::Util::Left< T > |
| struct | LC::Util::Left< void > |
| struct | LC::Util::FromStdExpected_t |
| class | LC::Util::Either< L, R > |
Namespaces | |
| namespace | LC |
| namespace | LC::Util |
Functions | |
| template<typename L, typename R> | |
| Either< L, R > | LC::Util::EitherFromSwapped (const std::variant< R, L > &variant) |
| template<template< typename > class Cont, typename L, typename R> | |
| std::pair< Cont< L >, Cont< R > > | LC::Util::Partition (const Cont< Either< L, R > > &eithers) |
| template<typename Left, typename Right, typename... Args> | |
| auto | LC::Util::Visit (const Either< Left, Right > &either, Args &&... args) |
| template<typename Left, typename Right, typename... Args> | |
| auto | LC::Util::Visit (Either< Left, Right > &&either, Args &&... args) |
Variables | |
| constexpr auto | LC::Util::AsLeft = Left<void> {} |
| struct LC::Util::FromStdExpected_t | LC::Util::FromStdExpected |