forked from OSchip/llvm-project
6f56d3eee8
Currently libc++ defines operator== and operator!= as friend functions in the definition of the istream_iterator class template. Such definition has a subtle difference from an out-of-line definition required by the C++ Standard: these functions can only be found by argument-dependent lookup, but not by qualified lookup. This patch changes the definition, so that it conforms to the C++ Standard and adds a check involving qualified lookup to the test suite. Patch contributed by Mikhail Maltsev. Differential Revision: https://reviews.llvm.org/D40415 llvm-svn: 320363 |
||
---|---|---|
.. | ||
iterator.container | ||
iterator.primitives | ||
iterator.range | ||
iterator.requirements | ||
iterator.synopsis | ||
iterators.general | ||
predef.iterators | ||
stream.iterators |