19012 {
19013#if JSON_DIAGNOSTICS
19014
19015 if (old_capacity != std::size_t(-1))
19016 {
19017
19019
19020 if (JSON_HEDLEY_UNLIKELY(
m_value.array->capacity() != old_capacity))
19021 {
19022
19023 set_parents();
19024 return j;
19025 }
19026 }
19027
19028
19029
19030#ifdef JSON_HEDLEY_MSVC_VERSION
19031#pragma warning(push )
19032#pragma warning(disable : 4127)
19033#endif
19034
19035 if (detail::is_ordered_map<object_t>::value)
19036 {
19037 set_parents();
19038 return j;
19039 }
19040
19041#ifdef JSON_HEDLEY_MSVC_VERSION
19042#pragma warning( pop )
19043#endif
19044 j.m_parent = this;
19045#else
19046 static_cast<void>(j);
19047 static_cast<void>(old_capacity);
19048#endif
19049 return j;
19050 }
constexpr value_t type() const noexcept
return the type of the JSON value (explicit)
json_value m_value
the value of the current element
@ array
array (ordered collection of values)