[EXT_EP-8720] cannot find matching "==" operator definition Created: 15/Dec/17  Updated: 28/Jun/22

Status: New
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Low
Reporter: TI User Assignee: TI User
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-4132
Found In Release: ARM_18.1.0.LTS
MSP430_18.1.0.LTS
C2000_22.6.0.LTS
MSP430_20.2.0.LTS
ARM_18.12.0.LTS
MSP430_21.6.0.LTS
C2000_21.6.0.LTS
MSP430_18.12.0.LTS
ARM_20.2.0.LTS
Release Notes: 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

 Description   

cannot find matching "==" operator definition


Generated at Wed Apr 02 00:18:13 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.