[llvm] [ADT] Teach set_intersect to erase with iterators (PR #99569)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 15:56:48 PDT 2024
kazutakahirata wrote:
> I think my preference here would be to just always use the erase(iter) variant then. We can add back the erase(value) variant if we hit a use-case for it (and add test coverage for it then).
OK. The latest iteration uses erase(iter) without checking `detail::HasMemberEraseIter<S1Ty>`.
https://github.com/llvm/llvm-project/pull/99569
More information about the llvm-commits
mailing list