Skip to content

Commit

Permalink
[FIX] std::result_of_t
Browse files Browse the repository at this point in the history
deprecated since c++17, removed in c++20
  • Loading branch information
eseiler committed Nov 11, 2023
1 parent 64a4313 commit 99103c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/seqan3/io/views/detail/take_until_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class view_take_until : public std::ranges::view_interface<view_take_until<urng_
static_assert(std::invocable<fun_t, std::ranges::range_reference_t<urng_t>>,
"The functor type for detail::take_until must model"
"std::invocable<fun_t, std::ranges::range_reference_t<urng_t>>.");
static_assert(std::convertible_to<std::result_of_t<fun_t && (std::ranges::range_reference_t<urng_t>)>, bool>,
static_assert(std::convertible_to<std::invoke_result_t<fun_t &&, std::ranges::range_reference_t<urng_t>>, bool>,
"The result type of the functor for detail::take_until must be a boolean.");

//!\brief The underlying range.
Expand Down

0 comments on commit 99103c9

Please sign in to comment.