• yzshen's avatar
    Mojo C++ bindings: make mojo::Map<K,V> more friendly with std::map<K,V>. · eb03d056
    yzshen authored
    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
    
    Review URL: https://codereview.chromium.org/1683863002
    
    Cr-Commit-Position: refs/heads/master@{#374559}
    eb03d056
clipboard_standalone_impl.cc 2.77 KB