aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/stllike/hash_map_insert.hpp
blob: a2a665c6de21275e3754107f416742d557b4abe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include "hash_map.h"

namespace vespalib {

template <typename K, typename V, typename H, typename EQ, typename M>
template <typename InputIt>
void
hash_map<K, V, H, EQ, M>::insert(InputIt first, InputIt last) {
    while (first != last) {
        insert(*first);
        ++first;
    }
}

}