🏁 do not include <ciso646> unless old MSVC is used #2089
This commit is contained in:
11 files changed
+87
-52
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <nlohmann/detail/macro_scope.hpp>
|
||||
|
||||
// Header <ciso646> is needed for older MSVC versions to allow to use the
|
||||
// alternative operator representations "and", "or", and "not". As the header
|
||||
// is removed in C++20, we must only include it for old MSVC versions.
|
||||
// See <https://github.com/nlohmann/json/issues/2089> for more information.
|
||||
|
||||
#if !JSON_HEDLEY_MSVC_VERSION_CHECK(15,5,0)
|
||||
#include <ciso646> // and, not, or
|
||||
#endif
|
||||
Reference in new issue
Block a user