diff --git a/include/boost/unordered/unordered_flat_map.hpp b/include/boost/unordered/unordered_flat_map.hpp index f8ec0d20..13d08395 100644 --- a/include/boost/unordered/unordered_flat_map.hpp +++ b/include/boost/unordered/unordered_flat_map.hpp @@ -49,11 +49,19 @@ namespace boost { size_type size() const noexcept { return table_.size(); } + /// Modifiers + /// + std::pair insert(value_type const& value) { return table_.insert(value); } + std::pair insert(value_type&& value) + { + return table_.insert(std::move(value)); + } + size_type count(key_type const& key) const { auto pos = table_.find(key);