mirror of
https://github.com/TartanLlama/expected.git
synced 2025-07-31 17:34:31 +02:00
added workaround for wrong value of __cplusplus in MSVC compiler (#136)
This commit is contained in:
@@ -109,7 +109,7 @@ struct is_trivially_copy_constructible<std::vector<T, A>> : std::false_type {};
|
|||||||
std::is_trivially_destructible<T>
|
std::is_trivially_destructible<T>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __cplusplus > 201103L
|
#if __cplusplus > 201103L || (defined(_MSC_VER) && _MSC_VER >= 1910)
|
||||||
#define TL_EXPECTED_CXX14
|
#define TL_EXPECTED_CXX14
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user