diff --git a/gtl/vec_utils.hpp b/gtl/vec_utils.hpp index 2d82487..cece6ba 100644 --- a/gtl/vec_utils.hpp +++ b/gtl/vec_utils.hpp @@ -61,7 +61,9 @@ auto slice(V&& v, int first = 0, int last = -1, int stride = 1) // apply a unary function to every element of a vector, returning the vector of results // --------------------------------------------------------------------------------------- template class V> -requires std::invocable +#ifndef _LIBCPP_VERSION // until this is available +requires std::invocable +#endif auto map(F &&f, const V& v) { using result_type = std::invoke_result_t;