New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sweep the codebase for components out-of-spec to the C++20 WP #41
Comments
Yes please. I'm particular, I'm blocked by the not-too-spec way you define |
Fixed in bb16557. |
Should functions like template <class I, class S, class Pred, class Proj = identity> // need to swap Pred and Proj
requires
InputIterator<__f<I>>() &&
Sentinel<__f<S>, __f<I>>() &&
IndirectPredicate<Pred, projected<__f<I>, Proj>>()
__f<I> find_if_not(I&& first, S&& last, Pred pred, Proj proj = Proj{})
{
return __stl2::find_if(__stl2::forward<I>(first), __stl2::forward<S>(last),
__stl2::not_fn(__stl2::ref(pred)), __stl2::ref(proj));
}
|
It should be safe to unwrap those and take the function arguments by value. Any resulting ambiguities are extensions that I need to move to namespace |
Anything not integrated by now is likely not important enough to be integrated.
The text was updated successfully, but these errors were encountered: