! @brief compares two JSON pointers for equality @param[in] lhs JSON pointer to compare @param[in] rhs JSON pointer to compare @return whether @a lhs is equal to @a rhs @complexity Linear in the length of the JSON pointer @exceptionsafety No-throw guarantee: this function never throws exceptions. */
| 12482 | @exceptionsafety No-throw guarantee: this function never throws exceptions. |
| 12483 | */ |
| 12484 | friend bool operator==(json_pointer const& lhs, |
| 12485 | json_pointer const& rhs) noexcept |
| 12486 | { |
| 12487 | return lhs.reference_tokens == rhs.reference_tokens; |
| 12488 | } |
| 12489 | |
| 12490 | /*! |
| 12491 | @brief compares two JSON pointers for inequality |
nothing calls this directly
no test coverage detected