Do not use #pragma once

Fixes #3974 by using the standard-compliant `#ifndef #define #endif` pattern instead of `#pragma once`.
This commit is contained in:
David Stone 2023-03-17 10:48:48 -06:00
parent 6af826d0bd
commit e1fca0b1ae
45 changed files with 547 additions and 286 deletions

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_ADL_SERIALIZER_HPP
#define INCLUDE_NLOHMANN_ADL_SERIALIZER_HPP
#include <utility> #include <utility>
@ -53,3 +54,5 @@ struct adl_serializer
}; };
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_ADL_SERIALIZER_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_BYTE_CONTAINER_WITH_SUBTYPE_HPP
#define INCLUDE_NLOHMANN_BYTE_CONTAINER_WITH_SUBTYPE_HPP
#include <cstdint> // uint8_t, uint64_t #include <cstdint> // uint8_t, uint64_t
#include <tuple> // tie #include <tuple> // tie
@ -101,3 +102,5 @@ class byte_container_with_subtype : public BinaryType
}; };
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_BYTE_CONTAINER_WITH_SUBTYPE_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
#define INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
// This file contains all macro definitions affecting or depending on the ABI // This file contains all macro definitions affecting or depending on the ABI
@ -98,3 +99,5 @@
} /* namespace (inline namespace) NOLINT(readability/namespace) */ \ } /* namespace (inline namespace) NOLINT(readability/namespace) */ \
} // namespace nlohmann } // namespace nlohmann
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_FROM_JSON_HPP
#define INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_FROM_JSON_HPP
#include <algorithm> // transform #include <algorithm> // transform
#include <array> // array #include <array> // array
@ -495,3 +496,5 @@ JSON_INLINE_VARIABLE constexpr const auto& from_json = // NOLINT(misc-definition
#endif #endif
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_FROM_JSON_HPP

View File

@ -7,7 +7,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_CHARS_HPP
#define INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_CHARS_HPP
#include <array> // array #include <array> // array
#include <cmath> // signbit, isfinite #include <cmath> // signbit, isfinite
@ -1116,3 +1117,5 @@ char* to_chars(char* first, const char* last, FloatType value)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_CHARS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_JSON_HPP
#define INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_JSON_HPP
#include <algorithm> // copy #include <algorithm> // copy
#include <iterator> // begin, end #include <iterator> // begin, end
@ -444,3 +445,5 @@ JSON_INLINE_VARIABLE constexpr const auto& to_json = // NOLINT(misc-definitions-
#endif #endif
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_JSON_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_EXCEPTIONS_HPP
#define INCLUDE_NLOHMANN_DETAIL_EXCEPTIONS_HPP
#include <cstddef> // nullptr_t #include <cstddef> // nullptr_t
#include <exception> // exception #include <exception> // exception
@ -256,3 +257,5 @@ class other_error : public exception
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_EXCEPTIONS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_HASH_HPP
#define INCLUDE_NLOHMANN_DETAIL_HASH_HPP
#include <cstdint> // uint8_t #include <cstdint> // uint8_t
#include <cstddef> // size_t #include <cstddef> // size_t
@ -127,3 +128,5 @@ std::size_t hash(const BasicJsonType& j)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_HASH_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_BINARY_READER_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_BINARY_READER_HPP
#include <algorithm> // generate_n #include <algorithm> // generate_n
#include <array> // array #include <array> // array
@ -3008,3 +3009,5 @@ class binary_reader
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_BINARY_READER_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_INPUT_ADAPTERS_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_INPUT_ADAPTERS_HPP
#include <array> // array #include <array> // array
#include <cstddef> // size_t #include <cstddef> // size_t
@ -492,3 +493,5 @@ class span_input_adapter
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_INPUT_ADAPTERS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_JSON_SAX_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_JSON_SAX_HPP
#include <cstddef> #include <cstddef>
#include <string> // string #include <string> // string
@ -726,3 +727,5 @@ class json_sax_acceptor
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_JSON_SAX_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_LEXER_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_LEXER_HPP
#include <array> // array #include <array> // array
#include <clocale> // localeconv #include <clocale> // localeconv
@ -1630,3 +1631,5 @@ scan_number_done:
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_LEXER_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_PARSER_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_PARSER_HPP
#include <cmath> // isfinite #include <cmath> // isfinite
#include <cstdint> // uint8_t #include <cstdint> // uint8_t
@ -505,3 +506,5 @@ class parser
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_PARSER_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_POSITION_T_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_POSITION_T_HPP
#include <cstddef> // size_t #include <cstddef> // size_t
@ -35,3 +36,5 @@ struct position_t
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_POSITION_T_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
#include <nlohmann/detail/abi_macros.hpp> #include <nlohmann/detail/abi_macros.hpp>
#include <nlohmann/detail/iterators/primitive_iterator.hpp> #include <nlohmann/detail/iterators/primitive_iterator.hpp>
@ -33,3 +34,5 @@ template<typename BasicJsonType> struct internal_iterator
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITER_IMPL_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITER_IMPL_HPP
#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next #include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
#include <type_traits> // conditional, is_const, remove_const #include <type_traits> // conditional, is_const, remove_const
@ -749,3 +750,5 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITER_IMPL_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#include <cstddef> // size_t #include <cstddef> // size_t
#include <iterator> // input_iterator_tag #include <iterator> // input_iterator_tag
@ -240,3 +241,5 @@ class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
template <typename IteratorType> template <typename IteratorType>
inline constexpr bool ::std::ranges::enable_borrowed_range<::nlohmann::detail::iteration_proxy<IteratorType>> = true; inline constexpr bool ::std::ranges::enable_borrowed_range<::nlohmann::detail::iteration_proxy<IteratorType>> = true;
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATION_PROXY_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATOR_TRAITS_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATOR_TRAITS_HPP
#include <iterator> // random_access_iterator_tag #include <iterator> // random_access_iterator_tag
@ -59,3 +60,5 @@ struct iterator_traits<T*, enable_if_t<std::is_object<T>::value>>
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATOR_TRAITS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#include <cstddef> // ptrdiff_t #include <cstddef> // ptrdiff_t
#include <iterator> // reverse_iterator #include <iterator> // reverse_iterator
@ -128,3 +129,5 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#include <cstddef> // ptrdiff_t #include <cstddef> // ptrdiff_t
#include <limits> // numeric_limits #include <limits> // numeric_limits
@ -130,3 +131,5 @@ class primitive_iterator_t
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP

View File

@ -1,4 +1,5 @@
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_JSON_CUSTOM_BASE_CLASS_HPP
#define INCLUDE_NLOHMANN_DETAIL_JSON_CUSTOM_BASE_CLASS_HPP
#include <type_traits> // conditional, is_same #include <type_traits> // conditional, is_same
@ -29,3 +30,5 @@ using json_base_class = typename std::conditional <
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_JSON_CUSTOM_BASE_CLASS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_JSON_POINTER_HPP
#define INCLUDE_NLOHMANN_DETAIL_JSON_POINTER_HPP
#include <algorithm> // all_of #include <algorithm> // all_of
#include <cctype> // isdigit #include <cctype> // isdigit
@ -986,3 +987,5 @@ inline bool operator<(const json_pointer<RefStringTypeLhs>& lhs,
#endif #endif
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_JSON_POINTER_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_JSON_REF_HPP
#define INCLUDE_NLOHMANN_DETAIL_JSON_REF_HPP
#include <initializer_list> #include <initializer_list>
#include <utility> #include <utility>
@ -76,3 +77,5 @@ class json_ref
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_JSON_REF_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_MACRO_SCOPE_HPP
#define INCLUDE_NLOHMANN_DETAIL_MACRO_SCOPE_HPP
#include <utility> // declval, pair #include <utility> // declval, pair
#include <nlohmann/detail/meta/detected.hpp> #include <nlohmann/detail/meta/detected.hpp>
@ -467,3 +468,5 @@
#ifndef JSON_USE_GLOBAL_UDLS #ifndef JSON_USE_GLOBAL_UDLS
#define JSON_USE_GLOBAL_UDLS 1 #define JSON_USE_GLOBAL_UDLS 1
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_MACRO_SCOPE_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_MACRO_UNSCOPE_HPP
#define INCLUDE_NLOHMANN_DETAIL_MACRO_UNSCOPE_HPP
// restore clang diagnostic settings // restore clang diagnostic settings
#if defined(__clang__) #if defined(__clang__)
@ -42,3 +43,5 @@
#endif #endif
#include <nlohmann/thirdparty/hedley/hedley_undef.hpp> #include <nlohmann/thirdparty/hedley/hedley_undef.hpp>
#endif // INCLUDE_NLOHMANN_DETAIL_MACRO_UNSCOPE_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_BEGIN_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_BEGIN_HPP
#include <nlohmann/detail/macro_scope.hpp> #include <nlohmann/detail/macro_scope.hpp>
@ -15,3 +16,5 @@ NLOHMANN_JSON_NAMESPACE_BEGIN
NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin); NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin);
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_BEGIN_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_END_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_END_HPP
#include <nlohmann/detail/macro_scope.hpp> #include <nlohmann/detail/macro_scope.hpp>
@ -15,3 +16,5 @@ NLOHMANN_JSON_NAMESPACE_BEGIN
NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end); NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end);
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_END_HPP

View File

@ -7,7 +7,8 @@
// SPDX-FileCopyrightText: 2018 The Abseil Authors // SPDX-FileCopyrightText: 2018 The Abseil Authors
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_CPP_FUTURE_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_CPP_FUTURE_HPP
#include <array> // array #include <array> // array
#include <cstddef> // size_t #include <cstddef> // size_t
@ -169,3 +170,5 @@ inline constexpr std::array<T, sizeof...(Args)> make_array(Args&& ... args)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_CPP_FUTURE_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_DETECTED_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_DETECTED_HPP
#include <type_traits> #include <type_traits>
@ -68,3 +69,5 @@ using is_detected_convertible =
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_DETECTED_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_IDENTITY_TAG_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_IDENTITY_TAG_HPP
#include <nlohmann/detail/abi_macros.hpp> #include <nlohmann/detail/abi_macros.hpp>
@ -19,3 +20,5 @@ template <class T> struct identity_tag {};
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_IDENTITY_TAG_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_IS_SAX_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_IS_SAX_HPP
#include <cstdint> // size_t #include <cstdint> // size_t
#include <utility> // declval #include <utility> // declval
@ -157,3 +158,5 @@ struct is_sax_static_asserts
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_IS_SAX_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_STD_FS_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_STD_FS_HPP
#include <nlohmann/detail/macro_scope.hpp> #include <nlohmann/detail/macro_scope.hpp>
@ -27,3 +28,5 @@ namespace std_fs = std::filesystem;
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_META_STD_FS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_TYPE_TRAITS_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_TYPE_TRAITS_HPP
#include <limits> // numeric_limits #include <limits> // numeric_limits
#include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type #include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type
@ -738,3 +739,5 @@ struct is_transparent : bool_constant<impl::is_transparent<T>()> {};
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_TYPE_TRAITS_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP
#include <nlohmann/detail/abi_macros.hpp> #include <nlohmann/detail/abi_macros.hpp>
@ -22,3 +23,5 @@ template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_OUTPUT_BINARY_WRITER_HPP
#define INCLUDE_NLOHMANN_DETAIL_OUTPUT_BINARY_WRITER_HPP
#include <algorithm> // reverse #include <algorithm> // reverse
#include <array> // array #include <array> // array
@ -1836,3 +1837,5 @@ class binary_writer
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_OUTPUT_BINARY_WRITER_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_OUTPUT_OUTPUT_ADAPTERS_HPP
#define INCLUDE_NLOHMANN_DETAIL_OUTPUT_OUTPUT_ADAPTERS_HPP
#include <algorithm> // copy #include <algorithm> // copy
#include <cstddef> // size_t #include <cstddef> // size_t
@ -145,3 +146,5 @@ class output_adapter
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_OUTPUT_OUTPUT_ADAPTERS_HPP

View File

@ -7,7 +7,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_OUTPUT_SERIALIZER_HPP
#define INCLUDE_NLOHMANN_DETAIL_OUTPUT_SERIALIZER_HPP
#include <algorithm> // reverse, remove, fill, find, none_of #include <algorithm> // reverse, remove, fill, find, none_of
#include <array> // array #include <array> // array
@ -986,3 +987,5 @@ class serializer
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_OUTPUT_SERIALIZER_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_STRING_CONCAT_HPP
#define INCLUDE_NLOHMANN_DETAIL_STRING_CONCAT_HPP
#include <cstring> // strlen #include <cstring> // strlen
#include <string> // string #include <string> // string
@ -144,3 +145,5 @@ inline OutStringType concat(Args && ... args)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_STRING_CONCAT_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_STRING_ESCAPE_HPP
#define INCLUDE_NLOHMANN_DETAIL_STRING_ESCAPE_HPP
#include <nlohmann/detail/abi_macros.hpp> #include <nlohmann/detail/abi_macros.hpp>
@ -70,3 +71,5 @@ static void unescape(StringType& s)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_STRING_ESCAPE_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_DETAIL_VALUE_T_HPP
#define INCLUDE_NLOHMANN_DETAIL_VALUE_T_HPP
#include <array> // array #include <array> // array
#include <cstddef> // size_t #include <cstddef> // size_t
@ -116,3 +117,5 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_VALUE_T_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_ORDERED_MAP_HPP
#define INCLUDE_NLOHMANN_ORDERED_MAP_HPP
#include <functional> // equal_to, less #include <functional> // equal_to, less
#include <initializer_list> // initializer_list #include <initializer_list> // initializer_list
@ -357,3 +358,5 @@ private:
}; };
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_ORDERED_MAP_HPP

View File

@ -1,4 +1,5 @@
#pragma once #ifndef INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_HPP
#define INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_HPP
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -2043,3 +2044,5 @@ JSON_HEDLEY_DIAGNOSTIC_POP
#define JSON_HEDLEY_CLANG_HAS_WARNING(warning) JSON_HEDLEY_HAS_WARNING(warning) #define JSON_HEDLEY_CLANG_HAS_WARNING(warning) JSON_HEDLEY_HAS_WARNING(warning)
#endif /* !defined(JSON_HEDLEY_VERSION) || (JSON_HEDLEY_VERSION < X) */ #endif /* !defined(JSON_HEDLEY_VERSION) || (JSON_HEDLEY_VERSION < X) */
#endif // INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_HPP

View File

@ -6,7 +6,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#pragma once #ifndef INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_UNDEF_HPP
#define INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_UNDEF_HPP
#undef JSON_HEDLEY_ALWAYS_INLINE #undef JSON_HEDLEY_ALWAYS_INLINE
#undef JSON_HEDLEY_ARM_VERSION #undef JSON_HEDLEY_ARM_VERSION
@ -156,3 +157,5 @@
#undef JSON_HEDLEY_WARN_UNUSED_RESULT #undef JSON_HEDLEY_WARN_UNUSED_RESULT
#undef JSON_HEDLEY_WARN_UNUSED_RESULT_MSG #undef JSON_HEDLEY_WARN_UNUSED_RESULT_MSG
#undef JSON_HEDLEY_FALL_THROUGH #undef JSON_HEDLEY_FALL_THROUGH
#endif // INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_UNDEF_HPP

View File

@ -40,7 +40,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_ADL_SERIALIZER_HPP
#define INCLUDE_NLOHMANN_ADL_SERIALIZER_HPP
#include <utility> #include <utility>
@ -53,7 +54,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
#define INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
// This file contains all macro definitions affecting or depending on the ABI // This file contains all macro definitions affecting or depending on the ABI
@ -146,6 +148,8 @@
} // namespace nlohmann } // namespace nlohmann
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
// #include <nlohmann/detail/conversions/from_json.hpp> // #include <nlohmann/detail/conversions/from_json.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -155,7 +159,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_FROM_JSON_HPP
#define INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_FROM_JSON_HPP
#include <algorithm> // transform #include <algorithm> // transform
#include <array> // array #include <array> // array
@ -178,7 +183,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_EXCEPTIONS_HPP
#define INCLUDE_NLOHMANN_DETAIL_EXCEPTIONS_HPP
#include <cstddef> // nullptr_t #include <cstddef> // nullptr_t
#include <exception> // exception #include <exception> // exception
@ -198,7 +204,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_VALUE_T_HPP
#define INCLUDE_NLOHMANN_DETAIL_VALUE_T_HPP
#include <array> // array #include <array> // array
#include <cstddef> // size_t #include <cstddef> // size_t
@ -214,7 +221,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_MACRO_SCOPE_HPP
#define INCLUDE_NLOHMANN_DETAIL_MACRO_SCOPE_HPP
#include <utility> // declval, pair #include <utility> // declval, pair
// #include <nlohmann/detail/meta/detected.hpp> // #include <nlohmann/detail/meta/detected.hpp>
@ -226,7 +234,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_DETECTED_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_DETECTED_HPP
#include <type_traits> #include <type_traits>
@ -239,7 +248,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP
// #include <nlohmann/detail/abi_macros.hpp> // #include <nlohmann/detail/abi_macros.hpp>
@ -257,6 +267,8 @@ template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_VOID_T_HPP
NLOHMANN_JSON_NAMESPACE_BEGIN NLOHMANN_JSON_NAMESPACE_BEGIN
namespace detail namespace detail
@ -315,8 +327,11 @@ using is_detected_convertible =
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
// #include <nlohmann/thirdparty/hedley/hedley.hpp> #endif // INCLUDE_NLOHMANN_DETAIL_META_DETECTED_HPP
// #include <nlohmann/thirdparty/hedley/hedley.hpp>
#ifndef INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_HPP
#define INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_HPP
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -2362,6 +2377,8 @@ JSON_HEDLEY_DIAGNOSTIC_POP
#endif /* !defined(JSON_HEDLEY_VERSION) || (JSON_HEDLEY_VERSION < X) */ #endif /* !defined(JSON_HEDLEY_VERSION) || (JSON_HEDLEY_VERSION < X) */
#endif // INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_HPP
// This file contains all internal macro definitions (except those affecting ABI) // This file contains all internal macro definitions (except those affecting ABI)
// You MUST include macro_unscope.hpp at the end of json.hpp to undef all of them // You MUST include macro_unscope.hpp at the end of json.hpp to undef all of them
@ -2820,6 +2837,8 @@ JSON_HEDLEY_DIAGNOSTIC_POP
#define JSON_USE_GLOBAL_UDLS 1 #define JSON_USE_GLOBAL_UDLS 1
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_MACRO_SCOPE_HPP
#if JSON_HAS_THREE_WAY_COMPARISON #if JSON_HAS_THREE_WAY_COMPARISON
#include <compare> // partial_ordering #include <compare> // partial_ordering
#endif #endif
@ -2923,6 +2942,8 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_VALUE_T_HPP
// #include <nlohmann/detail/string_escape.hpp> // #include <nlohmann/detail/string_escape.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -2932,7 +2953,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_STRING_ESCAPE_HPP
#define INCLUDE_NLOHMANN_DETAIL_STRING_ESCAPE_HPP
// #include <nlohmann/detail/abi_macros.hpp> // #include <nlohmann/detail/abi_macros.hpp>
@ -2998,6 +3020,8 @@ static void unescape(StringType& s)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_STRING_ESCAPE_HPP
// #include <nlohmann/detail/input/position_t.hpp> // #include <nlohmann/detail/input/position_t.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -3007,7 +3031,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_POSITION_T_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_POSITION_T_HPP
#include <cstddef> // size_t #include <cstddef> // size_t
@ -3038,6 +3063,8 @@ struct position_t
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_POSITION_T_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
// #include <nlohmann/detail/meta/cpp_future.hpp> // #include <nlohmann/detail/meta/cpp_future.hpp>
@ -3050,7 +3077,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2018 The Abseil Authors // SPDX-FileCopyrightText: 2018 The Abseil Authors
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_CPP_FUTURE_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_CPP_FUTURE_HPP
#include <array> // array #include <array> // array
#include <cstddef> // size_t #include <cstddef> // size_t
@ -3214,6 +3242,8 @@ inline constexpr std::array<T, sizeof...(Args)> make_array(Args&& ... args)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_CPP_FUTURE_HPP
// #include <nlohmann/detail/meta/type_traits.hpp> // #include <nlohmann/detail/meta/type_traits.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -3223,7 +3253,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_TYPE_TRAITS_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_TYPE_TRAITS_HPP
#include <limits> // numeric_limits #include <limits> // numeric_limits
#include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type #include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type
@ -3239,7 +3270,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATOR_TRAITS_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATOR_TRAITS_HPP
#include <iterator> // random_access_iterator_tag #include <iterator> // random_access_iterator_tag
@ -3296,6 +3328,8 @@ struct iterator_traits<T*, enable_if_t<std::is_object<T>::value>>
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATOR_TRAITS_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
// #include <nlohmann/detail/meta/call_std/begin.hpp> // #include <nlohmann/detail/meta/call_std/begin.hpp>
@ -3307,7 +3341,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_BEGIN_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_BEGIN_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
@ -3318,6 +3353,8 @@ NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin);
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_BEGIN_HPP
// #include <nlohmann/detail/meta/call_std/end.hpp> // #include <nlohmann/detail/meta/call_std/end.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -3327,7 +3364,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_END_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_END_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
@ -3338,6 +3376,8 @@ NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end);
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_CALL_STD_END_HPP
// #include <nlohmann/detail/meta/cpp_future.hpp> // #include <nlohmann/detail/meta/cpp_future.hpp>
// #include <nlohmann/detail/meta/detected.hpp> // #include <nlohmann/detail/meta/detected.hpp>
@ -4139,6 +4179,8 @@ struct is_transparent : bool_constant<impl::is_transparent<T>()> {};
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_TYPE_TRAITS_HPP
// #include <nlohmann/detail/string_concat.hpp> // #include <nlohmann/detail/string_concat.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -4148,7 +4190,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_STRING_CONCAT_HPP
#define INCLUDE_NLOHMANN_DETAIL_STRING_CONCAT_HPP
#include <cstring> // strlen #include <cstring> // strlen
#include <string> // string #include <string> // string
@ -4289,6 +4332,8 @@ inline OutStringType concat(Args && ... args)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_STRING_CONCAT_HPP
NLOHMANN_JSON_NAMESPACE_BEGIN NLOHMANN_JSON_NAMESPACE_BEGIN
@ -4522,6 +4567,8 @@ class other_error : public exception
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_EXCEPTIONS_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
// #include <nlohmann/detail/meta/cpp_future.hpp> // #include <nlohmann/detail/meta/cpp_future.hpp>
@ -4535,7 +4582,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_IDENTITY_TAG_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_IDENTITY_TAG_HPP
// #include <nlohmann/detail/abi_macros.hpp> // #include <nlohmann/detail/abi_macros.hpp>
@ -4550,6 +4598,8 @@ template <class T> struct identity_tag {};
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_IDENTITY_TAG_HPP
// #include <nlohmann/detail/meta/std_fs.hpp> // #include <nlohmann/detail/meta/std_fs.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -4559,7 +4609,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_STD_FS_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_STD_FS_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
@ -4582,6 +4633,8 @@ namespace std_fs = std::filesystem;
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_META_STD_FS_HPP
// #include <nlohmann/detail/meta/type_traits.hpp> // #include <nlohmann/detail/meta/type_traits.hpp>
// #include <nlohmann/detail/string_concat.hpp> // #include <nlohmann/detail/string_concat.hpp>
@ -5056,6 +5109,8 @@ JSON_INLINE_VARIABLE constexpr const auto& from_json = // NOLINT(misc-definition
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_FROM_JSON_HPP
// #include <nlohmann/detail/conversions/to_json.hpp> // #include <nlohmann/detail/conversions/to_json.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -5065,7 +5120,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_JSON_HPP
#define INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_JSON_HPP
#include <algorithm> // copy #include <algorithm> // copy
#include <iterator> // begin, end #include <iterator> // begin, end
@ -5085,7 +5141,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATION_PROXY_HPP
#include <cstddef> // size_t #include <cstddef> // size_t
#include <iterator> // input_iterator_tag #include <iterator> // input_iterator_tag
@ -5323,6 +5380,8 @@ class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
inline constexpr bool ::std::ranges::enable_borrowed_range<::nlohmann::detail::iteration_proxy<IteratorType>> = true; inline constexpr bool ::std::ranges::enable_borrowed_range<::nlohmann::detail::iteration_proxy<IteratorType>> = true;
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITERATION_PROXY_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
// #include <nlohmann/detail/meta/cpp_future.hpp> // #include <nlohmann/detail/meta/cpp_future.hpp>
@ -5755,6 +5814,8 @@ JSON_INLINE_VARIABLE constexpr const auto& to_json = // NOLINT(misc-definitions-
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_JSON_HPP
// #include <nlohmann/detail/meta/identity_tag.hpp> // #include <nlohmann/detail/meta/identity_tag.hpp>
@ -5797,6 +5858,8 @@ struct adl_serializer
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_ADL_SERIALIZER_HPP
// #include <nlohmann/byte_container_with_subtype.hpp> // #include <nlohmann/byte_container_with_subtype.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -5806,7 +5869,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_BYTE_CONTAINER_WITH_SUBTYPE_HPP
#define INCLUDE_NLOHMANN_BYTE_CONTAINER_WITH_SUBTYPE_HPP
#include <cstdint> // uint8_t, uint64_t #include <cstdint> // uint8_t, uint64_t
#include <tuple> // tie #include <tuple> // tie
@ -5903,6 +5967,8 @@ class byte_container_with_subtype : public BinaryType
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_BYTE_CONTAINER_WITH_SUBTYPE_HPP
// #include <nlohmann/detail/conversions/from_json.hpp> // #include <nlohmann/detail/conversions/from_json.hpp>
// #include <nlohmann/detail/conversions/to_json.hpp> // #include <nlohmann/detail/conversions/to_json.hpp>
@ -5918,7 +5984,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_HASH_HPP
#define INCLUDE_NLOHMANN_DETAIL_HASH_HPP
#include <cstdint> // uint8_t #include <cstdint> // uint8_t
#include <cstddef> // size_t #include <cstddef> // size_t
@ -6042,6 +6109,8 @@ std::size_t hash(const BasicJsonType& j)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_HASH_HPP
// #include <nlohmann/detail/input/binary_reader.hpp> // #include <nlohmann/detail/input/binary_reader.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -6051,7 +6120,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_BINARY_READER_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_BINARY_READER_HPP
#include <algorithm> // generate_n #include <algorithm> // generate_n
#include <array> // array #include <array> // array
@ -6077,7 +6147,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_INPUT_ADAPTERS_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_INPUT_ADAPTERS_HPP
#include <array> // array #include <array> // array
#include <cstddef> // size_t #include <cstddef> // size_t
@ -6566,6 +6637,8 @@ class span_input_adapter
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_INPUT_ADAPTERS_HPP
// #include <nlohmann/detail/input/json_sax.hpp> // #include <nlohmann/detail/input/json_sax.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -6575,7 +6648,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_JSON_SAX_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_JSON_SAX_HPP
#include <cstddef> #include <cstddef>
#include <string> // string #include <string> // string
@ -7299,6 +7373,8 @@ class json_sax_acceptor
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_JSON_SAX_HPP
// #include <nlohmann/detail/input/lexer.hpp> // #include <nlohmann/detail/input/lexer.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -7308,7 +7384,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_LEXER_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_LEXER_HPP
#include <array> // array #include <array> // array
#include <clocale> // localeconv #include <clocale> // localeconv
@ -8936,6 +9013,8 @@ scan_number_done:
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_LEXER_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
// #include <nlohmann/detail/meta/is_sax.hpp> // #include <nlohmann/detail/meta/is_sax.hpp>
@ -8947,7 +9026,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_META_IS_SAX_HPP
#define INCLUDE_NLOHMANN_DETAIL_META_IS_SAX_HPP
#include <cstdint> // size_t #include <cstdint> // size_t
#include <utility> // declval #include <utility> // declval
@ -9102,6 +9182,8 @@ struct is_sax_static_asserts
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_META_IS_SAX_HPP
// #include <nlohmann/detail/meta/type_traits.hpp> // #include <nlohmann/detail/meta/type_traits.hpp>
// #include <nlohmann/detail/string_concat.hpp> // #include <nlohmann/detail/string_concat.hpp>
@ -12087,6 +12169,8 @@ class binary_reader
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_BINARY_READER_HPP
// #include <nlohmann/detail/input/input_adapters.hpp> // #include <nlohmann/detail/input/input_adapters.hpp>
// #include <nlohmann/detail/input/lexer.hpp> // #include <nlohmann/detail/input/lexer.hpp>
@ -12100,7 +12184,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_INPUT_PARSER_HPP
#define INCLUDE_NLOHMANN_DETAIL_INPUT_PARSER_HPP
#include <cmath> // isfinite #include <cmath> // isfinite
#include <cstdint> // uint8_t #include <cstdint> // uint8_t
@ -12608,6 +12693,8 @@ class parser
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_INPUT_PARSER_HPP
// #include <nlohmann/detail/iterators/internal_iterator.hpp> // #include <nlohmann/detail/iterators/internal_iterator.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -12617,7 +12704,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
// #include <nlohmann/detail/abi_macros.hpp> // #include <nlohmann/detail/abi_macros.hpp>
@ -12630,7 +12718,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
#include <cstddef> // ptrdiff_t #include <cstddef> // ptrdiff_t
#include <limits> // numeric_limits #include <limits> // numeric_limits
@ -12756,6 +12845,8 @@ class primitive_iterator_t
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_PRIMITIVE_ITERATOR_HPP
NLOHMANN_JSON_NAMESPACE_BEGIN NLOHMANN_JSON_NAMESPACE_BEGIN
namespace detail namespace detail
@ -12780,6 +12871,8 @@ template<typename BasicJsonType> struct internal_iterator
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_INTERNAL_ITERATOR_HPP
// #include <nlohmann/detail/iterators/iter_impl.hpp> // #include <nlohmann/detail/iterators/iter_impl.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -12789,7 +12882,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITER_IMPL_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITER_IMPL_HPP
#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next #include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
#include <type_traits> // conditional, is_const, remove_const #include <type_traits> // conditional, is_const, remove_const
@ -13540,6 +13634,8 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_ITER_IMPL_HPP
// #include <nlohmann/detail/iterators/iteration_proxy.hpp> // #include <nlohmann/detail/iterators/iteration_proxy.hpp>
// #include <nlohmann/detail/iterators/json_reverse_iterator.hpp> // #include <nlohmann/detail/iterators/json_reverse_iterator.hpp>
@ -13551,7 +13647,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#define INCLUDE_NLOHMANN_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
#include <cstddef> // ptrdiff_t #include <cstddef> // ptrdiff_t
#include <iterator> // reverse_iterator #include <iterator> // reverse_iterator
@ -13675,10 +13772,13 @@ class json_reverse_iterator : public std::reverse_iterator<Base>
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_ITERATORS_JSON_REVERSE_ITERATOR_HPP
// #include <nlohmann/detail/iterators/primitive_iterator.hpp> // #include <nlohmann/detail/iterators/primitive_iterator.hpp>
// #include <nlohmann/detail/json_custom_base_class.hpp> // #include <nlohmann/detail/json_custom_base_class.hpp>
#ifndef INCLUDE_NLOHMANN_DETAIL_JSON_CUSTOM_BASE_CLASS_HPP
#define INCLUDE_NLOHMANN_DETAIL_JSON_CUSTOM_BASE_CLASS_HPP
#include <type_traits> // conditional, is_same #include <type_traits> // conditional, is_same
@ -13711,6 +13811,8 @@ using json_base_class = typename std::conditional <
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_JSON_CUSTOM_BASE_CLASS_HPP
// #include <nlohmann/detail/json_pointer.hpp> // #include <nlohmann/detail/json_pointer.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -13720,7 +13822,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_JSON_POINTER_HPP
#define INCLUDE_NLOHMANN_DETAIL_JSON_POINTER_HPP
#include <algorithm> // all_of #include <algorithm> // all_of
#include <cctype> // isdigit #include <cctype> // isdigit
@ -14706,6 +14809,8 @@ inline bool operator<(const json_pointer<RefStringTypeLhs>& lhs,
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_JSON_POINTER_HPP
// #include <nlohmann/detail/json_ref.hpp> // #include <nlohmann/detail/json_ref.hpp>
// __ _____ _____ _____ // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++ // __| | __| | | | JSON for Modern C++
@ -14715,7 +14820,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_JSON_REF_HPP
#define INCLUDE_NLOHMANN_DETAIL_JSON_REF_HPP
#include <initializer_list> #include <initializer_list>
#include <utility> #include <utility>
@ -14788,6 +14894,8 @@ class json_ref
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_JSON_REF_HPP
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
// #include <nlohmann/detail/string_concat.hpp> // #include <nlohmann/detail/string_concat.hpp>
@ -14807,7 +14915,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_OUTPUT_BINARY_WRITER_HPP
#define INCLUDE_NLOHMANN_DETAIL_OUTPUT_BINARY_WRITER_HPP
#include <algorithm> // reverse #include <algorithm> // reverse
#include <array> // array #include <array> // array
@ -14833,7 +14942,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_OUTPUT_OUTPUT_ADAPTERS_HPP
#define INCLUDE_NLOHMANN_DETAIL_OUTPUT_OUTPUT_ADAPTERS_HPP
#include <algorithm> // copy #include <algorithm> // copy
#include <cstddef> // size_t #include <cstddef> // size_t
@ -14974,6 +15084,8 @@ class output_adapter
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_OUTPUT_OUTPUT_ADAPTERS_HPP
// #include <nlohmann/detail/string_concat.hpp> // #include <nlohmann/detail/string_concat.hpp>
@ -16790,6 +16902,8 @@ class binary_writer
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_OUTPUT_BINARY_WRITER_HPP
// #include <nlohmann/detail/output/output_adapters.hpp> // #include <nlohmann/detail/output/output_adapters.hpp>
// #include <nlohmann/detail/output/serializer.hpp> // #include <nlohmann/detail/output/serializer.hpp>
@ -16802,7 +16916,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_OUTPUT_SERIALIZER_HPP
#define INCLUDE_NLOHMANN_DETAIL_OUTPUT_SERIALIZER_HPP
#include <algorithm> // reverse, remove, fill, find, none_of #include <algorithm> // reverse, remove, fill, find, none_of
#include <array> // array #include <array> // array
@ -16827,7 +16942,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_CHARS_HPP
#define INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_CHARS_HPP
#include <array> // array #include <array> // array
#include <cmath> // signbit, isfinite #include <cmath> // signbit, isfinite
@ -17938,6 +18054,8 @@ char* to_chars(char* first, const char* last, FloatType value)
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_CONVERSIONS_TO_CHARS_HPP
// #include <nlohmann/detail/exceptions.hpp> // #include <nlohmann/detail/exceptions.hpp>
// #include <nlohmann/detail/macro_scope.hpp> // #include <nlohmann/detail/macro_scope.hpp>
@ -18909,6 +19027,8 @@ class serializer
} // namespace detail } // namespace detail
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_DETAIL_OUTPUT_SERIALIZER_HPP
// #include <nlohmann/detail/value_t.hpp> // #include <nlohmann/detail/value_t.hpp>
// #include <nlohmann/json_fwd.hpp> // #include <nlohmann/json_fwd.hpp>
@ -18922,7 +19042,8 @@ NLOHMANN_JSON_NAMESPACE_END
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_ORDERED_MAP_HPP
#define INCLUDE_NLOHMANN_ORDERED_MAP_HPP
#include <functional> // equal_to, less #include <functional> // equal_to, less
#include <initializer_list> // initializer_list #include <initializer_list> // initializer_list
@ -19276,6 +19397,8 @@ private:
NLOHMANN_JSON_NAMESPACE_END NLOHMANN_JSON_NAMESPACE_END
#endif // INCLUDE_NLOHMANN_ORDERED_MAP_HPP
#if defined(JSON_HAS_CPP_17) #if defined(JSON_HAS_CPP_17)
#include <any> #include <any>
@ -24474,7 +24597,8 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_MACRO_UNSCOPE_HPP
#define INCLUDE_NLOHMANN_DETAIL_MACRO_UNSCOPE_HPP
// restore clang diagnostic settings // restore clang diagnostic settings
#if defined(__clang__) #if defined(__clang__)
@ -24518,7 +24642,8 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_UNDEF_HPP
#define INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_UNDEF_HPP
#undef JSON_HEDLEY_ALWAYS_INLINE #undef JSON_HEDLEY_ALWAYS_INLINE
#undef JSON_HEDLEY_ARM_VERSION #undef JSON_HEDLEY_ARM_VERSION
@ -24669,6 +24794,10 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC
#undef JSON_HEDLEY_WARN_UNUSED_RESULT_MSG #undef JSON_HEDLEY_WARN_UNUSED_RESULT_MSG
#undef JSON_HEDLEY_FALL_THROUGH #undef JSON_HEDLEY_FALL_THROUGH
#endif // INCLUDE_NLOHMANN_THIRDPARTY_HEDLEY_HEDLEY_UNDEF_HPP
#endif // INCLUDE_NLOHMANN_DETAIL_MACRO_UNSCOPE_HPP
#endif // INCLUDE_NLOHMANN_JSON_HPP_ #endif // INCLUDE_NLOHMANN_JSON_HPP_

View File

@ -24,7 +24,8 @@
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
#define INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
// This file contains all macro definitions affecting or depending on the ABI // This file contains all macro definitions affecting or depending on the ABI
@ -117,6 +118,8 @@
} // namespace nlohmann } // namespace nlohmann
#endif #endif
#endif // INCLUDE_NLOHMANN_DETAIL_ABI_MACROS_HPP
/*! /*!
@brief namespace for Niels Lohmann @brief namespace for Niels Lohmann