mirror of
https://github.com/nlohmann/json.git
synced 2026-08-19 07:33:27 +00:00
⚗️ do not include <ciso646> with C++20 #2089
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
#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.
|
||||
// Header <ciso646> is removed in C++20.
|
||||
// See <https://github.com/nlohmann/json/issues/2089> for more information.
|
||||
|
||||
#if !JSON_HEDLEY_MSVC_VERSION_CHECK(15,5,0)
|
||||
#if __cplusplus <= 201703L
|
||||
#include <ciso646> // and, not, or
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user