Visual Studio 2022 (recent version, 17.7.7) IntelliSense crashes with the code below.
Steps to reproduce
std::vector<int> values2(10);
In some seconds the IDE will show the message:
IntelliSense engine crashed for file ‘…’
Questions
The code
#include <ranges>
#include <vector>
int main()
{
std::vector<int> values(10);
// std::vector<int> values2(10);
auto range = std::ranges::subrange(values.begin(), values.end());
}
With the recent update of Visual Studio 2022 the issue has been resolved.