MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / operator==

Function operator==

Source/Utils/json.hpp:12484–12488  ·  view source on GitHub ↗

! @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. */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

basic_jsonFunction · 0.70

Tested by

no test coverage detected