DescriptionMojo C++ bindings: make mojo::Map<K,V> more friendly with std::map<K,V>.
This CL:
- removes a hack that handles move-only elements before C++11 support.
With this change the underlying storage of mojo::Map<K,V> is always
std::map<K,V>.
- adds "Map(std::map<K,V>&&)".
- adds "const std::map<K,V>& storage() const".
- adds "std::map<K,V> PassStorage()".
- removes the home-made ConstMapIterator; uses std::map<K,V>::const_iterator
instead.
BUG=583738
Committed: https://crrev.com/eb03d056f6f1535b78a9efce05898c4398d9d51c
Cr-Commit-Position: refs/heads/master@{#374559}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : #
Messages
Total messages: 18 (9 generated)
|