diff --git a/include/simdjson/convert.h b/include/simdjson/convert.h index a1de5c74e..2b7a32fa8 100644 --- a/include/simdjson/convert.h +++ b/include/simdjson/convert.h @@ -205,7 +205,7 @@ public: simdjson_inline auto_iterator_end end() noexcept { return {}; } }; -#if defined(__cpp_lib_ranges) && __cplusplus >= 202300L +#if 0 // Disabled for now due to C++23 compatibility issues across different compilers static constexpr struct [[nodiscard]] no_errors_adaptor : std::ranges::range_adaptor_closure { @@ -257,7 +257,7 @@ template static constexpr to_adaptor to{}; static constexpr to_adaptor<> from{}; -#endif // defined(__cpp_lib_ranges) && __cplusplus >= 202300L +#endif // 0 - Disabled ranges features } // namespace simdjson diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp index e01054a13..5adf24c2b 100644 --- a/singleheader/simdjson.cpp +++ b/singleheader/simdjson.cpp @@ -1,4 +1,4 @@ -/* auto-generated on 2025-08-02 16:04:58 +0000. Do not edit! */ +/* auto-generated on 2025-08-02 17:06:45 +0000. Do not edit! */ /* including simdjson.cpp: */ /* begin file simdjson.cpp */ #define SIMDJSON_SRC_SIMDJSON_CPP diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h index 4e94309cd..c9c04429c 100644 --- a/singleheader/simdjson.h +++ b/singleheader/simdjson.h @@ -1,4 +1,4 @@ -/* auto-generated on 2025-08-02 16:04:58 +0000. Do not edit! */ +/* auto-generated on 2025-08-02 17:06:45 +0000. Do not edit! */ /* including simdjson.h: */ /* begin file simdjson.h */ #ifndef SIMDJSON_H @@ -135457,7 +135457,7 @@ public: simdjson_inline auto_iterator_end end() noexcept { return {}; } }; -#if defined(__cpp_lib_ranges) && __cplusplus >= 202300L +#if 0 // Disabled for now due to C++23 compatibility issues across different compilers static constexpr struct [[nodiscard]] no_errors_adaptor : std::ranges::range_adaptor_closure { @@ -135509,7 +135509,7 @@ template static constexpr to_adaptor to{}; static constexpr to_adaptor<> from{}; -#endif // defined(__cpp_lib_ranges) && __cplusplus >= 202300L +#endif // 0 - Disabled ranges features } // namespace simdjson