diff --git a/include/nod/nod.hpp b/include/nod/nod.hpp index 2403244..94bf769 100644 --- a/include/nod/nod.hpp +++ b/include/nod/nod.hpp @@ -269,7 +269,7 @@ namespace nod { { public: /// Result type when calling the accumulating function operator. - #if (__cplusplus > 201703L) + #if __cplusplus >= 201703L using result_type = typename std::invoke_result::type; #else using result_type = typename std::result_of::type;