You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Atomically get a key and value out of the map that is associated with the key that is lexicographically less than the provided key.
Do you mean that the key one gets with that method could be any key that is less than the provided key?
Or is it the lexicographically highest key less than the provided key?
Edit: I have another question: why do key and value require Clone. I suspect it is because of a conflict of holding a reference to something that might be updated concurrently. Right?
The text was updated successfully, but these errors were encountered:
nalply
changed the title
Question about get_lt()
Question about get_lt() and key and value requiring CloneSep 12, 2024
nalply
changed the title
Question about get_lt() and key and value requiring Clone
Questions about get_lt() and key and value requiring CloneSep 12, 2024
From the documentation of
get_lt()
:Do you mean that the key one gets with that method could be any key that is less than the provided key?
Or is it the lexicographically highest key less than the provided key?
Edit: I have another question: why do key and value require
Clone
. I suspect it is because of a conflict of holding a reference to something that might be updated concurrently. Right?The text was updated successfully, but these errors were encountered: