================ @@ -147,6 +148,22 @@ class SmallSet { using const_iterator = SmallSetIterator<T, N, C>; SmallSet() = default; + SmallSet(const SmallSet &) = default; + SmallSet(SmallSet &&) = default; + + template <typename IterT> SmallSet(IterT Begin, IterT End) { + insert(Begin, End); + } + + template <typename RangeT> + explicit SmallSet(const iterator_range<RangeT> &R) { + insert(R.begin(), R.end()); + } + + SmallSet(std::initializer_list<T> L) { this->insert(L.begin(), L.end()); } ---------------- kuhar wrote:
One remaining `this->` https://github.com/llvm/llvm-project/pull/108601 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits