MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / pop_back

Method pop_back

native/thirdpart/json/json.hpp:10320–10328  ·  view source on GitHub ↗

! @brief remove last reference token @pre not `empty()` @liveexample{The example shows the usage of `pop_back`.,json_pointer__pop_back} @complexity Constant. @throw out_of_range.405 if JSON pointer has no parent @since version 3.6.0 */

Source from the content-addressed store, hash-verified

10318 @since version 3.6.0
10319 */
10320 void pop_back()
10321 {
10322 if (JSON_HEDLEY_UNLIKELY(empty()))
10323 {
10324 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent"));
10325 }
10326
10327 reference_tokens.pop_back();
10328 }
10329
10330 /*!
10331 @brief return last reference token

Callers 15

end_objectMethod · 0.80
end_arrayMethod · 0.80
end_objectMethod · 0.80
end_arrayMethod · 0.80
handle_valueMethod · 0.80
ungetMethod · 0.80
sax_parse_internalMethod · 0.80
parent_pointerMethod · 0.80
destroyFunction · 0.80
patchFunction · 0.80
GetFullyQualifiedNameMethod · 0.80
ParseTableMethod · 0.80

Calls 1

createFunction · 0.85

Tested by

no test coverage detected