Open licoded opened 12 months ago
C++20 ,才有 make_shared 函数
make_shared
C/C++
// .vscode/c_cpp_properties.json { "configurations": [ { "name": "Linux", // NEED to be changed according to your OS! "includePath": [ "${workspaceFolder}/**" ], "defines": [], // "compilerPath": "C:/path/to/your/compiler", "cStandard": "c11", "cppStandard": "c++20" } ], "version": 4 }
说明
C++20 ,才有
make_shared
函数VSCode中,
C/C++
plugin 如何启用/设置 C++ version