mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
add densemap range insertion method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60400 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -213,6 +213,14 @@ public:
|
|||||||
true);
|
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) {
|
bool erase(const KeyT &Val) {
|
||||||
BucketT *TheBucket;
|
BucketT *TheBucket;
|
||||||
if (!LookupBucketFor(Val, TheBucket))
|
if (!LookupBucketFor(Val, TheBucket))
|
||||||
|
Reference in New Issue
Block a user