This commit is contained in:
nlohmann
2026-10-03 05:43:12 +00:00
parent 2aaa1d24ef
commit a410b4f40f
741 changed files with 8115 additions and 2252 deletions
+9
View File
@@ -6,6 +6,10 @@ void pop_front();
Remove the first reference token.
## Exception safety
Strong exception safety: if an exception occurs, the original value stays intact.
## Exceptions
Throws [out_of_range.405](../../home/exceptions.md#jsonexceptionout_of_range405) if the JSON pointer has no parent.
@@ -30,6 +34,11 @@ Linear in the number of reference tokens in the `json_pointer`.
--8<-- "examples/json_pointer__pop_front.output"
```
## See also
- [front](front.md) return first reference token
- [push_front](push_front.md) append an unescaped token at the start of the pointer
## Version history
- Added in version 3.13.0.