14 #include <boost/container/flat_map.hpp>
16 namespace ActsExamples {
23 template <
typename Value,
typename Key = std::
size_t>
31 template <
typename Value,
typename Key>
36 unordered.reserve(multimap.size());
37 for (
const auto& keyValue : multimap) {
39 unordered.emplace_back(keyValue.second, keyValue.first);
43 inverse.adopt_sequence(std::move(unordered));