Skip to content

Commit 66ab25d

Browse files
authored
various minor fixes (#119)
1 parent b52f28c commit 66ab25d

9 files changed

+12
-12
lines changed

include/beman/execution26/detail/gather_signatures.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ template <typename R, typename... A, template <typename...> class Transform>
3636
::beman::execution26::detail::always_true<R>>::template meta_apply<Transform, A...>;
3737
}
3838
struct gather_signatures_apply<R(A...), Transform> {
39-
using type = ::beman::execution26::detail::indirect_meta_apply<
39+
using type = typename ::beman::execution26::detail::indirect_meta_apply<
4040
::beman::execution26::detail::always_true<R>>::template meta_apply<Transform, A...>;
4141
};
4242

@@ -57,7 +57,7 @@ template <typename... Signatures, template <typename...> class Tuple, template <
5757
typename ::beman::execution26::detail::gather_signatures_apply<Signatures, Tuple>::type...>;
5858
}
5959
struct gather_signatures_helper<::beman::execution26::completion_signatures<Signatures...>, Tuple, Variant> {
60-
using type = ::beman::execution26::detail::indirect_meta_apply<
60+
using type = typename ::beman::execution26::detail::indirect_meta_apply<
6161
always_true<typename ::beman::execution26::detail::gather_signatures_apply<Signatures, Tuple>::type...>>::
6262
template meta_apply<
6363
Variant,
@@ -74,7 +74,7 @@ template <typename Tag,
7474
Tuple,
7575
Variant>::type;
7676
}
77-
using gather_signatures = ::beman::execution26::detail::gather_signatures_helper<
77+
using gather_signatures = typename ::beman::execution26::detail::gather_signatures_helper<
7878
::beman::execution26::detail::meta::filter_tag<::beman::execution26::detail::same_tag, Tag, signatures>,
7979
Tuple,
8080
Variant>::type;

include/beman/execution26/detail/indices_for.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace beman::execution26::detail {
1212
template <typename Sender>
13-
using indices_for = ::std::remove_reference_t<Sender>::indices_for;
13+
using indices_for = typename ::std::remove_reference_t<Sender>::indices_for;
1414
}
1515

1616
// ----------------------------------------------------------------------------

include/beman/execution26/detail/meta_combine.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct combine<L0<T0...>, L1<T1...>, L...> {
2929

3030
namespace beman::execution26::detail::meta {
3131
template <typename... L>
32-
using combine = ::beman::execution26::detail::meta::detail::combine<L...>::type;
32+
using combine = typename ::beman::execution26::detail::meta::detail::combine<L...>::type;
3333
}
3434

3535
// ----------------------------------------------------------------------------

include/beman/execution26/detail/meta_filter.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ struct filter_tag<Predicate, Tag, List<H, T...>> {
4646

4747
namespace beman::execution26::detail::meta {
4848
template <template <typename> class Predicate, typename List>
49-
using filter = ::beman::execution26::detail::meta::detail::filter<Predicate, List>::type;
49+
using filter = typename ::beman::execution26::detail::meta::detail::filter<Predicate, List>::type;
5050

5151
template <template <typename, typename> class Predicate, typename Tag, typename List>
52-
using filter_tag = ::beman::execution26::detail::meta::detail::filter_tag<Predicate, Tag, List>::type;
52+
using filter_tag = typename ::beman::execution26::detail::meta::detail::filter_tag<Predicate, Tag, List>::type;
5353
} // namespace beman::execution26::detail::meta
5454

5555
// ----------------------------------------------------------------------------

include/beman/execution26/detail/meta_prepend.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ struct prepend<H, List<T...>> {
1818

1919
namespace beman::execution26::detail::meta {
2020
template <typename H, typename Tail>
21-
using prepend = ::beman::execution26::detail::meta::detail::prepend<H, Tail>::type;
21+
using prepend = typename ::beman::execution26::detail::meta::detail::prepend<H, Tail>::type;
2222
}
2323

2424
// ----------------------------------------------------------------------------

include/beman/execution26/detail/meta_unique.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct unique<List<T...>> {
3737

3838
namespace beman::execution26::detail::meta {
3939
template <typename T>
40-
using unique = ::beman::execution26::detail::meta::detail::unique<T>::type;
40+
using unique = typename ::beman::execution26::detail::meta::detail::unique<T>::type;
4141
}
4242

4343
// ----------------------------------------------------------------------------

include/beman/execution26/detail/product_type.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ constexpr auto sub_apply_helper(Fun&& fun, Tuple&& tuple, ::std::index_sequence<
120120

121121
template <::std::size_t Start, typename Fun, typename Tuple>
122122
constexpr auto sub_apply(Fun&& fun, Tuple&& tuple) -> decltype(auto) {
123-
static constexpr ::std::size_t TSize{::std::tuple_size_v<::std::remove_cvref_t<Tuple>>};
123+
constexpr ::std::size_t TSize{::std::tuple_size_v<::std::remove_cvref_t<Tuple>>};
124124
static_assert(Start <= TSize);
125125
return sub_apply_helper<Start>(
126126
::std::forward<Fun>(fun), ::std::forward<Tuple>(tuple), ::std::make_index_sequence<TSize - Start>());

include/beman/execution26/detail/single_sender_value_type.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct single_sender_value_type_helper<Sender, Env> {
5050
};
5151

5252
template <typename Sender, typename Env>
53-
using single_sender_value_type = single_sender_value_type_helper<Sender, Env>::type;
53+
using single_sender_value_type = typename single_sender_value_type_helper<Sender, Env>::type;
5454
} // namespace beman::execution26::detail
5555

5656
// ----------------------------------------------------------------------------

include/beman/execution26/detail/stop_callback_for_t.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace beman::execution26 {
1212
template <class Token, class CallbackFun>
13-
using stop_callback_for_t = Token::template callback_type<CallbackFun>;
13+
using stop_callback_for_t = typename Token::template callback_type<CallbackFun>;
1414
}
1515

1616
namespace beman::execution26::detail {

0 commit comments

Comments
 (0)