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

  • <legend id='T2uc3'><style id='T2uc3'><dir id='T2uc3'><q id='T2uc3'></q></dir></style></legend>
  • <tfoot id='T2uc3'></tfoot>
    1. <i id='T2uc3'><tr id='T2uc3'><dt id='T2uc3'><q id='T2uc3'><span id='T2uc3'><b id='T2uc3'><form id='T2uc3'><ins id='T2uc3'></ins><ul id='T2uc3'></ul><sub id='T2uc3'></sub></form><legend id='T2uc3'></legend><bdo id='T2uc3'><pre id='T2uc3'><center id='T2uc3'></center></pre></bdo></b><th id='T2uc3'></th></span></q></dt></tr></i><div id='T2uc3'><tfoot id='T2uc3'></tfoot><dl id='T2uc3'><fieldset id='T2uc3'></fieldset></dl></div>
      1. <small id='T2uc3'></small><noframes id='T2uc3'>

        C++ 模块 - 为什么它们从 C++0x 中删除?他们以后会回来吗?

        时间:2023-08-26

        • <bdo id='PWSGZ'></bdo><ul id='PWSGZ'></ul>

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

                <legend id='PWSGZ'><style id='PWSGZ'><dir id='PWSGZ'><q id='PWSGZ'></q></dir></style></legend>

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

                  本文介绍了C++ 模块 - 为什么它们从 C++0x 中删除?他们以后会回来吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我刚刚发现了这个 旧的 C++0x 草稿关于 C++0x 中的模块.

                  I just discovered this old C++0x draft about modules in C++0x.

                  这个想法是通过只编写 .cpp 文件来摆脱当前的 .h/.cpp 系统,然后在编译期间生成模块文件,然后其他 .cpp 文件会使用这些文件.

                  The idea was to get out of the current .h/.cpp system by writing only .cpp files which would then generate module files during compilation, which would then in turn be used by the other .cpp files.

                  这看起来非常棒.

                  但我的问题是:他们为什么要从 C++0x 中删除它?是不是因为技术难度太大?时间不够?你认为他们会考虑为 C++ 的另一个版本开发它吗?

                  But my question is: why did they remove it from C++0x? Was it because of too many technical difficulties? Lack of time? And do you think they will consider working on it for an ulterior version of C++?

                  推荐答案

                  来自 C++ 演进状态(旧金山 2008 后),模块提案被归类为标题为单独的 TR:"

                  From the State of C++ Evolution (Post San Francisco 2008), the Modules proposal was categorized as "Heading for a separate TR:"

                  这些主题被认为太重要了,不能在发布之前等待 C++0x 之后的另一个标准,但又太具有实验性,无法及时为下一个标准定稿.因此,这些功能将尽快通过技术报告提供.

                  These topics are deemed too important to wait for another standard after C++0x before being published, but too experimental to be finalised in time for the next Standard. Therefore, these features will be delivered by a technical report at the earliest opportunity.

                  模块提案还没有准备好,等待它会延迟完成 C++0x 标准.它并没有真正被删除,只是从未被纳入工作文件中.

                  The modules proposal just wasn't ready and waiting for it would have delayed finishing the C++0x standard. It wasn't really removed, it was just never incorporated into the working paper.

                  这篇关于C++ 模块 - 为什么它们从 C++0x 中删除?他们以后会回来吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:从 C++ 创建、打开和打印 word 文件 下一篇:模块间共享内存

                  相关文章

                1. <legend id='fY1kQ'><style id='fY1kQ'><dir id='fY1kQ'><q id='fY1kQ'></q></dir></style></legend>
                    <bdo id='fY1kQ'></bdo><ul id='fY1kQ'></ul>
                  <tfoot id='fY1kQ'></tfoot>

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

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