- Precondition
- not
empty()
- Example^^ The example shows the usage of pop_back. ^^ json_pointer__pop_back.cpp
- Output (play with this example online):^^
"/foo/bar/baz"
"/foo/bar"
"/foo"
""
^^ The example code above can be translated withg++ -std=c++11 -Isingle_include doc/examples/json_pointer__pop_back.cpp -o json_pointer__pop_back
- Complexity^^ Constant.
- Exceptions
-
out_of_range.405 | if JSON pointer has no parent |
- Since
- version 3.6.0
Definition at line 10208 of file json.hpp.