Clion 2017.3.3 syntax check is wrong but right on 2017.2.2

Answered

Above code is not wrong. 'traceMap' is std::multimap. 

Clion 2017.2.2 do not mark red under line above code. But 2017.3.3 does. 

 

Fix it please. 

0
1 comment

Yoonsung, I can't reproduce the issue on my side with the following code snippet:

#include <map>

int main() {

std::multimap<int, double> traceMap;
auto its = traceMap.equal_range(0);
auto it = its.first;
while (it != its.second) {};

return 0;
}


Please provide a standalone code sample with which the issue can be reproduced, specify which compiler you use and what error you get.

0

Please sign in to leave a comment.