diff --git a/toml/traits.hpp b/toml/traits.hpp index 3839451..fa33ff0 100644 --- a/toml/traits.hpp +++ b/toml/traits.hpp @@ -282,7 +282,7 @@ using enable_if_t = typename std::enable_if::type; // --------------------------------------------------------------------------- // return_type_of_t -#if __cplusplus >= 201703L && defined(__cpp_lib_is_invocable) && __cpp_lib_is_invokable>=201710 +#if __cplusplus >= 201703L && defined(__cpp_lib_is_invocable) && __cpp_lib_is_invocable>=201710 template using return_type_of_t = std::invoke_result_t;