Upgrade the vendored nlohmann JSON to 3.12.0 and build the docs with Doxygen 1.15.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0dff6df8ed
commit
fff543ad48
204 changed files with 3385 additions and 1680 deletions
37
thirdparty/json/include/nlohmann/detail/string_utils.hpp
vendored
Normal file
37
thirdparty/json/include/nlohmann/detail/string_utils.hpp
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
// __ _____ _____ _____
|
||||
// __| | __| | | | JSON for Modern C++
|
||||
// | | |__ | | | | | | version 3.12.0
|
||||
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
|
||||
//
|
||||
// SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me>
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstddef> // size_t
|
||||
#include <string> // string, to_string
|
||||
|
||||
#include <nlohmann/detail/abi_macros.hpp>
|
||||
|
||||
NLOHMANN_JSON_NAMESPACE_BEGIN
|
||||
namespace detail
|
||||
{
|
||||
|
||||
template<typename StringType>
|
||||
void int_to_string(StringType& target, std::size_t value)
|
||||
{
|
||||
// For ADL
|
||||
using std::to_string;
|
||||
target = to_string(value);
|
||||
}
|
||||
|
||||
template<typename StringType>
|
||||
StringType to_string(std::size_t value)
|
||||
{
|
||||
StringType result;
|
||||
int_to_string(result, value);
|
||||
return result;
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
NLOHMANN_JSON_NAMESPACE_END
|
||||
Loading…
Add table
Add a link
Reference in a new issue