#pragma once #include #include namespace bts { struct MapUtils { template static const V *find_value(const std::unordered_map &, K); template static V *find_value(std::unordered_map &, K); template static const V &assert_find_value(const std::unordered_map &, K); template static V &assert_find_value(std::unordered_map &, K); template static const V &assert_find_value(const boost::container::flat_map &, K); template static V &assert_find_value(boost::container::flat_map &, K); }; } // namespace bts #include "MapUtils.cc"