! @brief return whether pointer points to the root document @return true iff the JSON pointer points to the root document @complexity Constant. @exceptionsafety No-throw guarantee: this function never throws exceptions. @liveexample{The example shows the result of `empty` for different JSON Pointers.,json_pointer__empty} @since version 3.6.0 */
| 8724 | @since version 3.6.0 |
| 8725 | */ |
| 8726 | bool empty() const noexcept |
| 8727 | { |
| 8728 | return reference_tokens.empty(); |
| 8729 | } |
| 8730 | |
| 8731 | private: |
| 8732 | /*! |
no outgoing calls