- OS: OSX 10.13.2
- VS Code: 1.19.3
- C/C++ extension version: 0.14.6
Error Squiggles are shown for the following sample code (see screen snap further below):
#include <bitset>
int main(int argc, char const *argv[]) {
// see http://en.cppreference.com/w/cpp/utility/bitset/operator_at
std::bitset<8> foobit(42);
if (foobit[0]) {
foobit[1] = false;
}
return 0;
}
Unless I am missing something the code seems to be correct and should not present any issues, certainly no errors.

Error Squiggles are shown for the following sample code (see screen snap further below):
Unless I am missing something the code seems to be correct and should not present any issues, certainly no errors.