久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <tfoot id='ElWpT'></tfoot>
    • <bdo id='ElWpT'></bdo><ul id='ElWpT'></ul>
  • <small id='ElWpT'></small><noframes id='ElWpT'>

    1. <i id='ElWpT'><tr id='ElWpT'><dt id='ElWpT'><q id='ElWpT'><span id='ElWpT'><b id='ElWpT'><form id='ElWpT'><ins id='ElWpT'></ins><ul id='ElWpT'></ul><sub id='ElWpT'></sub></form><legend id='ElWpT'></legend><bdo id='ElWpT'><pre id='ElWpT'><center id='ElWpT'></center></pre></bdo></b><th id='ElWpT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ElWpT'><tfoot id='ElWpT'></tfoot><dl id='ElWpT'><fieldset id='ElWpT'></fieldset></dl></div>

      1. <legend id='ElWpT'><style id='ElWpT'><dir id='ElWpT'><q id='ElWpT'></q></dir></style></legend>

        如何在 VSCode C++ 擴展中啟用 C++17 支持

        How to enable C++17 support in VSCode C++ Extension(如何在 VSCode C++ 擴展中啟用 C++17 支持)
        1. <small id='tPeiX'></small><noframes id='tPeiX'>

        2. <i id='tPeiX'><tr id='tPeiX'><dt id='tPeiX'><q id='tPeiX'><span id='tPeiX'><b id='tPeiX'><form id='tPeiX'><ins id='tPeiX'></ins><ul id='tPeiX'></ul><sub id='tPeiX'></sub></form><legend id='tPeiX'></legend><bdo id='tPeiX'><pre id='tPeiX'><center id='tPeiX'></center></pre></bdo></b><th id='tPeiX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tPeiX'><tfoot id='tPeiX'></tfoot><dl id='tPeiX'><fieldset id='tPeiX'></fieldset></dl></div>
            <tbody id='tPeiX'></tbody>
          <tfoot id='tPeiX'></tfoot>
          <legend id='tPeiX'><style id='tPeiX'><dir id='tPeiX'><q id='tPeiX'></q></dir></style></legend>
            <bdo id='tPeiX'></bdo><ul id='tPeiX'></ul>

                  本文介紹了如何在 VSCode C++ 擴展中啟用 C++17 支持的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我一直在 std::string_view 上出現錯誤曲線,但我能夠構建得很好.有沒有辦法告訴智能感知或 C++ linter 使用 C++17?

                  I keep on getting error squiggles on std::string_view, but I am able to build just fine. Is there a way to tell intellisense or the C++ linter to use C++17?

                  我得到的具體錯誤是:

                  namespace "std" has no member "string_view"
                  

                  推薦答案

                  現在這變得容易多了.在您的 vs code 擴展設置中搜索 cppstandard,然后從下拉列表中選擇您希望擴展使用的 C++ 版本.

                  This has become much easier now. Search for cppstandard in your vs code extension settings and choose the version of C++ you want the extension to use from the drop down.

                  為了確保您的調試器使用相同的版本,請確保您的 tasks.json 具有類似的內容,其中重要的幾行是 --std 和之后的行定義版本.

                  In order to make sure your debugger is using the same version, make sure you have something like this for your tasks.json, where the important lines are the --std and the line after that defines the version.

                  {
                    "tasks": [
                      {
                        "type": "cppbuild",
                        "label": "C/C++: g++ build active file",
                        "command": "/usr/bin/g++",
                        "args": [
                          "--std",
                          "c++17",
                          "-I",
                          "${fileDirname}",
                          "-g",
                          "${fileDirname}/*.cpp",
                          "-o",
                          "${workspaceFolder}/out/${fileBasenameNoExtension}.o"
                        ],
                        "options": {
                          "cwd": "${workspaceFolder}"
                        },
                        "problemMatcher": ["$gcc"],
                        "group": {
                          "kind": "build",
                          "isDefault": true
                        }
                      }
                    ],
                    "version": "2.0.0"
                  }
                  

                  請注意,如果您直接復制上述 tasks.json,則您的工作區(qū)根目錄中需要有一個名為 out 的文件夾.

                  Note that if you're copying the above tasks.json directly, you'll need to have a folder named out in your workspace root.

                  這篇關于如何在 VSCode C++ 擴展中啟用 C++17 支持的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  In what ways do C++ exceptions slow down code when there are no exceptions thown?(當沒有異常時,C++ 異常會以何種方式減慢代碼速度?)
                  Why catch an exception as reference-to-const?(為什么要捕獲異常作為對 const 的引用?)
                  When and how should I use exception handling?(我應該何時以及如何使用異常處理?)
                  Scope of exception object in C++(C++中異常對象的范圍)
                  Catching exceptions from a constructor#39;s initializer list(從構造函數的初始化列表中捕獲異常)
                  Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說明符 C++11 noexcept 之間的區(qū)別)

                    <i id='pomT8'><tr id='pomT8'><dt id='pomT8'><q id='pomT8'><span id='pomT8'><b id='pomT8'><form id='pomT8'><ins id='pomT8'></ins><ul id='pomT8'></ul><sub id='pomT8'></sub></form><legend id='pomT8'></legend><bdo id='pomT8'><pre id='pomT8'><center id='pomT8'></center></pre></bdo></b><th id='pomT8'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pomT8'><tfoot id='pomT8'></tfoot><dl id='pomT8'><fieldset id='pomT8'></fieldset></dl></div>
                      <tbody id='pomT8'></tbody>

                        • <legend id='pomT8'><style id='pomT8'><dir id='pomT8'><q id='pomT8'></q></dir></style></legend>
                            <bdo id='pomT8'></bdo><ul id='pomT8'></ul>

                          • <tfoot id='pomT8'></tfoot>
                          • <small id='pomT8'></small><noframes id='pomT8'>

                          • 主站蜘蛛池模板: 国产精品久久久久久久7电影 | 国产一区2区 | 久视频在线观看 | 91视频在线观看免费 | 一区二区av | 一区二区三区在线 | 欧 | 久久综合九色综合欧美狠狠 | 中文字幕第7页 | 亚洲性人人天天夜夜摸 | 羞羞午夜 | 天天天天天天天干 | 毛片在线免费 | 一区二区三区四区在线 | 成人亚洲网站 | 久久久亚洲 | 99精品久久久久久中文字幕 | 99re热精品视频国产免费 | 精品毛片视频 | 欧美成人激情视频 | 免费久久久久久 | 国产中文字幕网 | 国产一区二区三区不卡av | 91精品久久久久久久久久入口 | 久久久久久久一区 | 亚洲成人精品影院 | 国产在线一区二区三区 | 91精品无人区卡一卡二卡三 | 国产一区二区精品在线 | 亚洲久久在线 | 韩国av影院 | 精品成人佐山爱一区二区 | 日韩一区二区在线观看 | 红色av社区 | 欧美一区2区三区4区公司 | 国产丝袜人妖cd露出 | 欧美精品福利视频 | 日本一二三区高清 | 中文字幕日韩欧美一区二区三区 | 日一区二区三区 | 成人性视频免费网站 | 中文区中文字幕免费看 |