From 96619cd132b5a9d11c6029c2e60f33c4bb19b7a0 Mon Sep 17 00:00:00 2001 From: greg Date: Sat, 18 Jul 2020 22:14:59 -0400 Subject: [PATCH] issue #54 --- parallel_hashmap/phmap_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallel_hashmap/phmap_base.h b/parallel_hashmap/phmap_base.h index 2797682..0b6674a 100644 --- a/parallel_hashmap/phmap_base.h +++ b/parallel_hashmap/phmap_base.h @@ -329,7 +329,7 @@ template using underlying_type_t = typename std::underlying_type::type; template< class F, class... ArgTypes> -#if __cplusplus >= 201703L +#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) using invoke_result_t = typename std::invoke_result_t; #else using invoke_result_t = typename std::result_of::type;