Skip to content

Commit

Permalink
remove some unused metaprogramming utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Jan 29, 2024
1 parent ff56dcc commit e49c44a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/stdexec/__detail/__meta.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -958,18 +958,6 @@ namespace stdexec {
using __2 = __placeholder<2>;
using __3 = __placeholder<3>;

template <class _Ty, class _Noexcept = __mbool<true>>
struct __mconstruct {
template <class... _As>
auto operator()(_As&&... __as) const noexcept(__v<_Noexcept>&& noexcept(_Ty((_As&&) __as...)))
-> decltype(_Ty((_As&&) __as...)) {
return _Ty((_As&&) __as...);
}
};

template <template <class...> class _Cp, class _Noexcept = __mbool<true>>
using __mconstructor_for = __mcompose<__q<__mconstruct>, __q<_Cp>>;

#if STDEXEC_MSVC()
// MSVCBUG https://developercommunity.visualstudio.com/t/Incorrect-function-template-argument-sub/10437827

Expand Down

0 comments on commit e49c44a

Please sign in to comment.