bool empty() const noexcept;
Return whether pointer points to the root document.
#!cpp true
iff the JSON pointer points to the root document.
No-throw guarantee: this function never throws exceptions.
Constant.
??? example
The example shows the result of `empty` for different JSON Pointers. ```cpp --8<-- "examples/json_pointer__empty.cpp" ``` Output: ```json --8<-- "examples/json_pointer__empty.output" ```
Added in version 3.6.0.