Skip to content

Commit

Permalink
remove a duplicate definition of the invocable concept
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed May 25, 2024
1 parent 68ef470 commit a0139f8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/stdexec/functional.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,6 @@
#include <type_traits>
#include <cstddef>

namespace stdexec::__std_concepts {
#if STDEXEC_HAS_STD_CONCEPTS_HEADER()
using std::invocable;
#else
template <class _Fun, class... _As>
concept invocable = //
requires(_Fun&& __f, _As&&... __as) {
std::invoke(static_cast<_Fun&&>(__f), static_cast<_As&&>(__as)...);
};
#endif
} // namespace stdexec::__std_concepts

namespace stdexec {
template <class _Fun0, class _Fun1>
struct __composed {
Expand Down

0 comments on commit a0139f8

Please sign in to comment.