11 #include <boost/container/flat_map.hpp>
22 template <
typename Value,
typename Key = std::
size_t>
30 template <
typename Value,
typename Key>
35 unordered.reserve(multimap.size());
36 for (
const auto& keyValue : multimap) {
38 unordered.emplace_back(keyValue.second, keyValue.first);
42 inverse.adopt_sequence(std::move(unordered));