[ADT] Factor out the facade aspect of the iterator_adaptor_base into its
authorChandler Carruth <chandlerc@gmail.com>
Thu, 24 Apr 2014 04:07:06 +0000 (04:07 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 24 Apr 2014 04:07:06 +0000 (04:07 +0000)
commit18cd5b1585524d185e735777b6defa6f01b7abf3
tree172e286ffb3da156e8bc5d80a9cb585337ac1a71
parentbeee61d3e6c7e202160233c2f24ec9d5d03f89cc
[ADT] Factor out the facade aspect of the iterator_adaptor_base into its
own CRTP base class for more general purpose use. Add some clarifying
comments for the exact way in which the adaptor uses it. Hopefully this
will help us write increasingly full featured iterators. This is
becoming important as they start to be used heavily inside of ranges.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207072 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/iterator.h