diff --git a/include_std/algorithm b/include_std/algorithm index 918bc20..f717ae8 100644 --- a/include_std/algorithm +++ b/include_std/algorithm @@ -75,8 +75,8 @@ namespace std return last; } - template - constexpr InputIt find_if(InputIt first, InputIt last, UnaryPredicate p) + template + constexpr InputIt find_if(InputIt first, InputIt last, UnaryPred p) { for (; first != last; ++first) if (p(*first)) @@ -85,8 +85,8 @@ namespace std return last; } - template - constexpr InputIt find_if_not(InputIt first, InputIt last, UnaryPredicate q) + template + constexpr InputIt find_if_not(InputIt first, InputIt last, UnaryPred q) { for (; first != last; ++first) if (!q(*first)) @@ -106,8 +106,8 @@ namespace std return first; } - template - ForwardIt remove_if(ForwardIt first, ForwardIt last, UnaryPredicate p) + template + ForwardIt remove_if(ForwardIt first, ForwardIt last, UnaryPred p) { first = std::find_if(first, last, p); if (first != last)