Commit 7c8d47af authored by Dominik Charousset's avatar Dominik Charousset

Add missing function overload

parent 2a83ea58
...@@ -226,6 +226,10 @@ public: ...@@ -226,6 +226,10 @@ public:
return emplace_hint(hint, key, std::forward<T>(value)); return emplace_hint(hint, key, std::forward<T>(value));
} }
void insert(const_iterator first, const_iterator last) {
xs_.insert(first, last);
}
template <class T> template <class T>
iterator_bool_pair insert_or_assign(string_view key, T&& value) { iterator_bool_pair insert_or_assign(string_view key, T&& value) {
auto i = lower_bound(key); auto i = lower_bound(key);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment