Skip to content

Commit

Permalink
Correctly redeclare generate_view with constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyCarter committed Dec 24, 2018
1 parent 4795d96 commit 814b4f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/stl2/view/generate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ STL2_OPEN_NAMESPACE {
{ return {}; }
};

template<class F>
template<CopyConstructibleObject F>
requires Invocable<F&>
struct generate_view<F>::__iterator {
using value_type = result_t;
using difference_type = std::intmax_t;
Expand Down

0 comments on commit 814b4f6

Please sign in to comment.