Displaying 1 result from an estimated 1 matches for "inputit".
Did you mean:
inputir
2009 Apr 01
1
[LLVMdev] Patches: Range insertion for DenseSet; definition of DenseMapInfo<char>
...======
--- include/llvm/ADT/DenseSet.h (revision 68214)
+++ include/llvm/ADT/DenseSet.h (working copy)
@@ -90,6 +90,13 @@
std::pair<iterator, bool> insert(const ValueT &V) {
return TheMap.insert(std::make_pair(V, 0));
}
+
+ // Range insertion of values.
+ template<typename InputIt>
+ void insert(InputIt I, InputIt E) {
+ for (; I != E; ++I)
+ insert(*I);
+ }
};
} // end namespace llvm
Index: include/llvm/ADT/DenseMap.h
===================================================================
--- include/llvm/ADT/DenseMap.h (revision 68214)
+++ include/llvm/ADT/Den...