[PATCH] D28726: Adding const overloads of operator* and operator-> for DenseSet iterators

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 14 07:48:06 PST 2017


jlebar accepted this revision.
jlebar added a comment.
This revision is now accepted and ready to land.

You may also want to look at DenseMap's iterator, which at the moment has no non-const overload of `operator*` and `operator->` -- both of these return a non-const reference out of the const operator.


https://reviews.llvm.org/D28726





More information about the llvm-commits mailing list