Skip to content

Commit

Permalink
Remove constraints for sequence_for_each
Browse files Browse the repository at this point in the history
  • Loading branch information
lackhole committed Jan 23, 2025
1 parent ce37198 commit 67b1e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/preview/__utility/sequence_for_each.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct sequence_for_each_invocable<std::integer_sequence<T, v...>, F, Args...>


// performs f(std::integral_constant<T, i>{}, args...) for i in v...
template<typename T, T... v, typename F, typename... Args, std::enable_if_t<(sizeof...(v) > 1), int> = 0>
template<typename T, T... v, typename F, typename... Args>
constexpr std::enable_if_t<detail::sequence_for_each_invocable<std::integer_sequence<T, v...>, F>::value>
sequence_for_each(std::integer_sequence<T, v...>, F&& f, Args&&... args)
noexcept(conjunction<
Expand Down

0 comments on commit 67b1e77

Please sign in to comment.