mirror of
https://github.com/TartanLlama/expected.git
synced 2025-07-30 00:47:18 +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>
|
||||
#endif
|
||||
|
||||
#if __cplusplus > 201103L
|
||||
#if __cplusplus > 201103L || (defined(_MSC_VER) && _MSC_VER >= 1910)
|
||||
#define TL_EXPECTED_CXX14
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user