fjricci added a comment. The llvm test suite passes with this change, although I haven't verified clang's does yet. I'll add a test for a random access iterator, and update the enable_if if it doesn't work correctly. https://reviews.llvm.org/D33919