Make flat containers stable, allow constructing from vector.

The stability matters more for maps that it did for sets, so I think it makes sense if all of the flat_set/map containers are stable sorted.

Since we are unlikely to switch out the storage type, I made constructors that take a moved vector. I want to use this pattern to
collect base::Values and then construct a map from it all at once.

Review-Url: https://codereview.chromium.org/2776793002
Cr-Commit-Position: refs/heads/master@{#463094}


CrOS-Libchrome-Original-Commit: 5c72fdadcbe0e5914a2a1c935992975e31ff3e67
6 files changed
tree: cffde06a87361b6970cc65b48cc77518726cd812
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/