-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.insidersCurrently only repros with our latest Insiders release.Currently only repros with our latest Insiders release.quick fixregressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release
Milestone
Description
Type: LanguageService
Describe the bug
- OS and Version: Windows 1803(?) update
- VS Code Version: 1.34.0-insiders
- C/C++ Extension Version: 0.23.0-insiders
To Reproduce
- Have the above installed.
- Create a blank directory and open it in Code Insiders
- Create a new cpp file and write the contents:
#include <string_view>
std::string_view s = "foo";There will be red squiggles on std::string_view. You can edit the c_cpp_properties.json file to include the line "cppStandard": "c++17", but that doesn't seem to help. No matter what the deduced C++ version is always less than C++17 (C++14?).
Expected behavior
Once adding "cppStandard": "c++17" to the configuration file, C++17 features should not give intellisense errors.
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.insidersCurrently only repros with our latest Insiders release.Currently only repros with our latest Insiders release.quick fixregressionA bug that didn't exist in a previous releaseA bug that didn't exist in a previous release