Skip to content

Commit

Permalink
Merge pull request #3208 from eseiler/fix/result_of
Browse files Browse the repository at this point in the history
[FIX] std::result_of_t
  • Loading branch information
eseiler authored Nov 11, 2023
2 parents 64a4313 + 99103c9 commit 1b0b55f
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

1 comment on commit 1b0b55f

@vercel
Copy link

@vercel vercel bot commented on 1b0b55f Nov 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

seqan3 – ./

seqan3-seqan.vercel.app
seqan3-git-master-seqan.vercel.app
seqan3.vercel.app

Please sign in to comment.