MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / pop_back

Method pop_back

lesson6-Segmentation/json.hpp:11782–11790  ·  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

11780 @since version 3.6.0
11781 */
11782 void pop_back()
11783 {
11784 if (JSON_HEDLEY_UNLIKELY(empty()))
11785 {
11786 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent"));
11787 }
11788
11789 reference_tokens.pop_back();
11790 }
11791
11792 /*!
11793 @brief return last reference token

Callers 11

UNetDecoderImplMethod · 0.80
end_objectMethod · 0.80
end_arrayMethod · 0.80
end_objectMethod · 0.80
end_arrayMethod · 0.80
handle_valueMethod · 0.80
ungetFunction · 0.80
sax_parse_internalMethod · 0.80
parent_pointerMethod · 0.80
destroyFunction · 0.80
patchFunction · 0.80

Calls 2

emptyFunction · 0.85
createFunction · 0.85

Tested by

no test coverage detected