[llvm] [ADT] Series of improvements to SmallSet (PR #104611)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 13:22:05 PDT 2024


================
@@ -155,6 +150,22 @@ class SmallSet {
   using const_iterator = SmallSetIterator<T, N, C>;
 
   SmallSet() = default;
+  SmallSet(const SmallSet &) = default;
+  SmallSet(SmallSet &&) = default;
+
+  template <typename IterT> explicit SmallSet(IterT Begin, IterT End) {
----------------
s-barannikov wrote:

```suggestion
  template <typename IterT> SmallSet(IterT Begin, IterT End) {
```

https://github.com/llvm/llvm-project/pull/104611


More information about the llvm-commits mailing list