1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

add densemap range insertion method.

llvm-svn: 60400
This commit is contained in:
Chris Lattner 2008-12-02 06:08:04 +00:00
parent 654cc91c36
commit 0cb74d3d8e

View File

@ -213,6 +213,14 @@ public:
true);
}
/// insert - Range insertion of pairs.
template<typename InputIt>
void insert(InputIt I, InputIt E) {
for (; I != E; ++I)
insert(*I);
}
bool erase(const KeyT &Val) {
BucketT *TheBucket;
if (!LookupBucketFor(Val, TheBucket))