A single object property entry. More...
Public Member Functions | |
| auto | key_equals (const KeyView key, const hash_type key_hash) const -> bool |
Public Attributes | |
| key_type | first |
| The property key. | |
| mapped_type | second |
| The property value. | |
| hash_type | hash |
| The precomputed hash of the property key. | |
A single object property entry.
|
inlinenodiscard |
Check whether this entry's key equals the given key, comparing the precomputed hashes first and only falling back to a string comparison when the hash is not perfect. For example: