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
When I do the same with a tsl::ordered_map then common_keys is empty. This makes sense per the readme indicating that insertion order matters for the equality operator. The question then is, how would I achieve the above?
The text was updated successfully, but these errors were encountered:
This is more of a question than an issue:
I have two
tsl::ordered_map
objects with the same signature, e.g.tsl::ordered_map<std::string, std::shared_ptr<MyCustomType>>
I'd like to be able to find the intersection of common keys between them. When using a
std::unordered_map
, I can use the ranges-v3 library to do this:When I do the same with a
tsl::ordered_map
thencommon_keys
is empty. This makes sense per the readme indicating that insertion order matters for the equality operator. The question then is, how would I achieve the above?The text was updated successfully, but these errors were encountered: