fix msvc support for issue #128 when flag /Zc:__cplusplus not specified

This commit is contained in:
greg
2022-02-08 14:10:10 -05:00
parent 7970234626
commit bf2d3fe7a2
+1 -1
View File
@@ -2647,7 +2647,7 @@ public:
std::is_nothrow_default_constructible<key_equal>::value&&
std::is_nothrow_default_constructible<allocator_type>::value) {}
#if __cplusplus >= 201703L && (defined(_MSC_VER) || defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 6))
#if (__cplusplus >= 201703L || _MSVC_LANG >= 201402) && (defined(_MSC_VER) || defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 6))
explicit parallel_hash_set(size_t bucket_cnt,
const hasher& hash_param = hasher(),
const key_equal& eq = key_equal(),