Merge c67e101b77 into 788e5468e4
This commit is contained in:
commit
125a719a07
@ -5157,6 +5157,10 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
|
|||||||
/// @}
|
/// @}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Explicit instantiation
|
||||||
|
// fix for issue #3732
|
||||||
|
template class nlohmann::basic_json<nlohmann::ordered_map>;
|
||||||
|
|
||||||
/// @brief user-defined to_string function for JSON values
|
/// @brief user-defined to_string function for JSON values
|
||||||
/// @sa https://json.nlohmann.me/api/basic_json/to_string/
|
/// @sa https://json.nlohmann.me/api/basic_json/to_string/
|
||||||
NLOHMANN_BASIC_JSON_TPL_DECLARATION
|
NLOHMANN_BASIC_JSON_TPL_DECLARATION
|
||||||
|
|||||||
@ -24373,6 +24373,10 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
|
|||||||
/// @}
|
/// @}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Explicit instantiation
|
||||||
|
// fix for issue #3732
|
||||||
|
template class nlohmann::basic_json<nlohmann::ordered_map>;
|
||||||
|
|
||||||
/// @brief user-defined to_string function for JSON values
|
/// @brief user-defined to_string function for JSON values
|
||||||
/// @sa https://json.nlohmann.me/api/basic_json/to_string/
|
/// @sa https://json.nlohmann.me/api/basic_json/to_string/
|
||||||
NLOHMANN_BASIC_JSON_TPL_DECLARATION
|
NLOHMANN_BASIC_JSON_TPL_DECLARATION
|
||||||
|
|||||||
@ -12,6 +12,12 @@
|
|||||||
using nlohmann::json;
|
using nlohmann::json;
|
||||||
using nlohmann::ordered_json;
|
using nlohmann::ordered_json;
|
||||||
|
|
||||||
|
//fix for issue #3732
|
||||||
|
void test(nlohmann::detail::iteration_proxy_value <
|
||||||
|
nlohmann::detail::iter_impl<nlohmann::ordered_json >> const& val)
|
||||||
|
{
|
||||||
|
static_cast<void>(val.value());
|
||||||
|
}
|
||||||
|
|
||||||
TEST_CASE("ordered_json")
|
TEST_CASE("ordered_json")
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user