All content and materials on this
site are provided "as is". TI and its respective suppliers and providers of content make no representations about
the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these
materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a
particular purpose, title and non-infringement of any third party intellectual property right. No license, either
express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a
license from a third party, or a license from TI.
The library does not provide an definition of std::operator== for arguments of type std::istream_iterator. That is, the following code is erroneously marked as ill-formed with a diagnostic:
#include <iterator>
#include <string>
using ISTREAM_ITER_C = std::istream_iterator<char, char>;
The library does not provide an definition of std::operator== for arguments of type std::istream_iterator. That is, the following code is erroneously marked as ill-formed with a diagnostic:
#include <iterator>
#include <string>
using ISTREAM_ITER_C = std::istream_iterator<char, char>;
bool foo(const ISTREAM_ITER_C& arg00 ,const ISTREAM_ITER_C& arg01 ){
return std::operator== (arg00, arg01); // Syntax error
}
However, this is only an issue if called in exactly that way. Using it as an operator, rather than as a function call, works as expected:
arg00 == arg01 // Works