licoded / self-study-drafts

buffer for records
0 stars 0 forks source link

`std::string-view` #150

Open licoded opened 11 months ago

licoded commented 11 months ago

说明

C++17 以后支持,只读的 std::string 版本

VSCode中,C/C++ plugin 如何启用/设置 C++ version

// .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++17"
        }
    ],
    "version": 4
}