[BUG] Wrong inspection std::vector<bool>
Answered
To reproduce:
int main() {
std::vector<bool> test(5, false);
test.at(0) = true; // std::_bit_reference<std::vector<bool, _Allocator>> and bool are not compatible
}
https://www.evernote.com/l/ASEidggB0qhKWo9PrampSKaIEp9zjK8v7S8B/image.png
Please sign in to leave a comment.
Hi! What CLion version and what compiler do you use? I didn't manage to reproduce the issue with CLion 2017.2.3 and CLion 2017.3:
CLion 2017.3
Build #CL-173.3727.83, built on November 22, 2017
JRE: 1.8.0_152-release-1024-b6 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
I'm still unable to reproduce the issue. Could you please try using our 2017.3 release (build: 173.3727.114) or CLion 2017.3.1 EAP (build 173.4127.6)? If the issue persists, please send the simple sample project with which the issue can be reproduced to clion-support at jetbrains.com. Please also specify the compiler that you use and its version.