[PATCH] D58088: [adt] Add raw_pointer_iterator to iterate over std::unique_ptr<> collections

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 12 11:28:40 PST 2019


paquette added a comment.

Hmm, It might be nice to have this as a specialization of `pointer_iterator` if possible.

I think it might be a source of confusion/frustration to have both a `raw_pointer_iterator` and a `pointer_iterator`, where `raw_pointer_iterator` is specifically used for //only// `unique_ptr`.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D58088





More information about the llvm-commits mailing list