Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some fixes to better support clients #22

Merged
merged 2 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Beman.Execution: Building Block For Asynchronous Programs
# beman.execution26: Building Block For Asynchronous Programs

`Beman.Execution` provides the basic vocabulary for asynchronous
`beman.execution26` provides the basic vocabulary for asynchronous
programming as well as important algorithms implemented in terms
of this vocabulary. The key entities of the vocabulary are:

Expand Down Expand Up @@ -36,7 +36,7 @@ e.g.:

| Library | Linux | MacOS | Windows |
| ------- | ----- | ----- | ------- |
| build | ![Linux build status](https://github.com/beman-project/Execution26/actions/workflows/linux.yml/badge.svg) | ![MacOS build status](https://github.com/beman-project/Execution26/actions/workflows/macos.yml/badge.svg) | ![Window build status](https://github.com/beman-project/Execution26/actions/workflows/windows.yml/badge.svg) |
| build | ![Linux build status](https://github.com/beman-project/execution26/actions/workflows/linux.yml/badge.svg) | ![MacOS build status](https://github.com/beman-project/execution26/actions/workflows/macos.yml/badge.svg) | ![Window build status](https://github.com/beman-project/execution26/actions/workflows/windows.yml/badge.svg) |

You can just use `make` in the current directory. It will invoke `cmake`,
build the code, and run tests. To have more control over the build-process
Expand Down
18 changes: 12 additions & 6 deletions include/beman/execution26/detail/meta_combine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,27 @@

namespace beman::execution26::detail::meta::detail
{
template <typename, typename> struct combine;
template <typename...> struct combine;

template <template <typename...> class L0, typename... T0>
struct combine<L0<T0...>>
{
using type = L0<T0...>;
};
template <template <typename...> class L0, typename... T0,
template <typename...> class L1, typename... T1>
struct combine<L0<T0...>, L1<T1...>>
template <typename...> class L1, typename... T1,
typename... L>
struct combine<L0<T0...>, L1<T1...>, L...>
{
using type = L0<T0..., T1...>;
using type = typename combine<L0<T0..., T1...>, L...>::type;
};
}

namespace beman::execution26::detail::meta
{
template <typename L0, typename L1>
template <typename... L>
using combine
= ::beman::execution26::detail::meta::detail::combine<L0, L1>::type;
= ::beman::execution26::detail::meta::detail::combine<L...>::type;
}

// ----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion include/beman/execution26/detail/variant_or_empty.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace beman::execution26::detail

template <typename... T>
using variant_or_empty
= ::beman::execution26::detail::variant_or_empty_helper<T...>::type;
= typename ::beman::execution26::detail::variant_or_empty_helper<T...>::type;
}

// ----------------------------------------------------------------------------
Expand Down