! @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 */
| 12181 | @since version 3.6.0 |
| 12182 | */ |
| 12183 | bool empty() const noexcept |
| 12184 | { |
| 12185 | return reference_tokens.empty(); |
| 12186 | } |
| 12187 | |
| 12188 | private: |
| 12189 | /*! |
no outgoing calls