我想在 vscode 中使用 C++20,因为我想在 unordered_set 上使用 .contains,但是当我尝试它时,我得到了但
error C2039: 'contains': is not a member of 'std::unordered_set
我不明白为什么,因为我已经继续使用 c_cpp_properties.json 并指定使用 c++20 但它似乎仍然不起作用,而且我在 vscode 上找不到任何关于更改 C++ 版本的任何内容。
编译器版本: 19.25.28614 for x86