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

      <bdo id='SfpfI'></bdo><ul id='SfpfI'></ul>
    <tfoot id='SfpfI'></tfoot>

    1. <small id='SfpfI'></small><noframes id='SfpfI'>

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

      在 C++ 中遞歸到 main() 是否合法?

      Is it legal to recurse into main() in C++?(在 C++ 中遞歸到 main() 是否合法?)
    2. <i id='A92xo'><tr id='A92xo'><dt id='A92xo'><q id='A92xo'><span id='A92xo'><b id='A92xo'><form id='A92xo'><ins id='A92xo'></ins><ul id='A92xo'></ul><sub id='A92xo'></sub></form><legend id='A92xo'></legend><bdo id='A92xo'><pre id='A92xo'><center id='A92xo'></center></pre></bdo></b><th id='A92xo'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='A92xo'><tfoot id='A92xo'></tfoot><dl id='A92xo'><fieldset id='A92xo'></fieldset></dl></div>

          <small id='A92xo'></small><noframes id='A92xo'>

            <tfoot id='A92xo'></tfoot>
              <bdo id='A92xo'></bdo><ul id='A92xo'></ul>

                  <tbody id='A92xo'></tbody>

                <legend id='A92xo'><style id='A92xo'><dir id='A92xo'><q id='A92xo'></q></dir></style></legend>
                本文介紹了在 C++ 中遞歸到 main() 是否合法?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我讀到 C++ 標(biāo)準(zhǔn)禁止 main() 中的遞歸,但是 g++ 編譯了以下代碼而沒有抱怨:

                I read that the C++ standard forbids recursion in main(), but g++ compiles the following code without complaint:

                int main()
                {
                    main();
                }
                

                有人能澄清一下嗎?

                推薦答案

                按照3.6.1/3的標(biāo)準(zhǔn),不是:

                According to the standard in 3.6.1/3, it's not :

                函數(shù)main 不得使用(3.2) 在程序內(nèi)

                used 的定義是:

                一個對象或非重載如果函數(shù)名稱出現(xiàn)在潛在求值表達(dá)式中,則使用該函數(shù).

                An object or non-overloaded function is used if its name appears in a potentially-evaluated expression.

                這篇關(guān)于在 C++ 中遞歸到 main() 是否合法?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                相關(guān)文檔推薦

                In what ways do C++ exceptions slow down code when there are no exceptions thown?(當(dāng)沒有異常時,C++ 異常會以何種方式減慢代碼速度?)
                Why catch an exception as reference-to-const?(為什么要捕獲異常作為對 const 的引用?)
                When and how should I use exception handling?(我應(yīng)該何時以及如何使用異常處理?)
                Scope of exception object in C++(C++中異常對象的范圍)
                Catching exceptions from a constructor#39;s initializer list(從構(gòu)造函數(shù)的初始化列表中捕獲異常)
                Difference between C++03 throw() specifier C++11 noexcept(C++03 throw() 說明符 C++11 noexcept 之間的區(qū)別)
              1. <i id='s15IT'><tr id='s15IT'><dt id='s15IT'><q id='s15IT'><span id='s15IT'><b id='s15IT'><form id='s15IT'><ins id='s15IT'></ins><ul id='s15IT'></ul><sub id='s15IT'></sub></form><legend id='s15IT'></legend><bdo id='s15IT'><pre id='s15IT'><center id='s15IT'></center></pre></bdo></b><th id='s15IT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='s15IT'><tfoot id='s15IT'></tfoot><dl id='s15IT'><fieldset id='s15IT'></fieldset></dl></div>
                <tfoot id='s15IT'></tfoot><legend id='s15IT'><style id='s15IT'><dir id='s15IT'><q id='s15IT'></q></dir></style></legend>

                    <bdo id='s15IT'></bdo><ul id='s15IT'></ul>

                      <small id='s15IT'></small><noframes id='s15IT'>

                          <tbody id='s15IT'></tbody>

                        1. 主站蜘蛛池模板: 亚洲成人精品在线 | 国产精品二区一区二区aⅴ污介绍 | 亚洲欧美日韩精品 | 欧美性生交xxxxx | 欧美日韩一区二区在线观看 | 97福利视频| 成人毛片在线播放 | 精品久久久久久久久久久久久 | 五月婷婷丁香 | 亚洲影音| 国产a√| 成人a级片 | 国产黄色精品 | 久久91精品 | 亚洲欧洲一区 | 日韩欧美高清视频 | 免费黄色小网站 | 精品一区在线 | 免费一级黄色片 | 日韩一级片 | 在线免费国产 | 日韩精品久久久久 | 九九热在线播放 | 成人a毛片| 国产精品高潮呻吟久久 | 国产精品一级 | 亚洲色在线视频 | 久久久二区 | 国产欧美在线 | 国产免费a | 国产91av在线 | 亚洲综合二区 | 日本a级大片 | 中文字幕第7页 | 午夜亚洲精品 | 99视频网 | 国产视频一区二 | 91国内视频 | 色婷婷中文字幕 | 国产欧美精品 | 成人av一区 |