[PATCH] D99444: [ADT] Introduce lazy unique iterator

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 29 09:55:22 PDT 2021


dblaikie added a comment.

I probably wouldn't mind an algorithm-like function, rather than an iterator (not composable, but avoids some of the harder design issues) - `llvm::for_each_unique_element(R, [](const T& t) { ... });`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99444/new/

https://reviews.llvm.org/D99444



More information about the llvm-commits mailing list