MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / pop_back

Method pop_back

dependencies/json/json.hpp:11852–11860  ·  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

11850 @since version 3.6.0
11851 */
11852 void pop_back()
11853 {
11854 if (JSON_HEDLEY_UNLIKELY(empty()))
11855 {
11856 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent"));
11857 }
11858
11859 reference_tokens.pop_back();
11860 }
11861
11862 /*!
11863 @brief return last reference token

Callers 13

ProcessOptionsFunction · 0.45
end_objectMethod · 0.45
end_arrayMethod · 0.45
end_objectMethod · 0.45
end_arrayMethod · 0.45
handle_valueMethod · 0.45
ungetFunction · 0.45
sax_parse_internalMethod · 0.45
parent_pointerMethod · 0.45
destroyFunction · 0.45

Calls 2

emptyFunction · 0.70
createFunction · 0.70

Tested by

no test coverage detected