Skip to content

Commit 7965889

Browse files
authored
Reenabling C++ 20 features. (simdjson#1059)
1 parent 4beb2ed commit 7965889

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

include/simdjson/dom/array.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ inline std::ostream& operator<<(std::ostream& out, const simdjson_result<dom::ar
174174

175175
} // namespace simdjson
176176

177-
/*
178177
#if defined(__cpp_lib_ranges)
179178
#include <ranges>
180179

@@ -186,6 +185,5 @@ inline constexpr bool enable_view<simdjson::dom::array> = true;
186185
static_assert(std::ranges::view<simdjson::dom::array>);
187186
static_assert(std::ranges::sized_range<simdjson::dom::array>);
188187
#endif
189-
*/
190188

191189
#endif // SIMDJSON_DOM_ARRAY_H

include/simdjson/dom/object.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ inline std::ostream& operator<<(std::ostream& out, const simdjson_result<dom::ob
281281

282282
} // namespace simdjson
283283

284-
/*
285284
#if defined(__cpp_lib_ranges)
286285
#include <ranges>
287286

@@ -293,6 +292,5 @@ inline constexpr bool enable_view<simdjson::dom::object> = true;
293292
static_assert(std::ranges::view<simdjson::dom::object>);
294293
static_assert(std::ranges::sized_range<simdjson::dom::object>);
295294
#endif
296-
*/
297295

298296
#endif // SIMDJSON_DOM_OBJECT_H

0 commit comments

Comments
 (0)