added workaround for wrong value of __cplusplus in MSVC compiler (#136)

This commit is contained in:
georg-emg
2025-01-21 11:04:12 +01:00
committed by GitHub
parent c5e8e3c39b
commit 273a859e05

View File

@ -109,7 +109,7 @@ struct is_trivially_copy_constructible<std::vector<T, A>> : std::false_type {};
std::is_trivially_destructible<T>
#endif
#if __cplusplus > 201103L
#if __cplusplus > 201103L || (defined(_MSC_VER) && _MSC_VER >= 1910)
#define TL_EXPECTED_CXX14
#endif