• <small id='Jdidj'></small><noframes id='Jdidj'>

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

      1. <i id='Jdidj'><tr id='Jdidj'><dt id='Jdidj'><q id='Jdidj'><span id='Jdidj'><b id='Jdidj'><form id='Jdidj'><ins id='Jdidj'></ins><ul id='Jdidj'></ul><sub id='Jdidj'></sub></form><legend id='Jdidj'></legend><bdo id='Jdidj'><pre id='Jdidj'><center id='Jdidj'></center></pre></bdo></b><th id='Jdidj'></th></span></q></dt></tr></i><div id='Jdidj'><tfoot id='Jdidj'></tfoot><dl id='Jdidj'><fieldset id='Jdidj'></fieldset></dl></div>
      2. 升压库

        时间:2023-07-20
        <i id='wEYTs'><tr id='wEYTs'><dt id='wEYTs'><q id='wEYTs'><span id='wEYTs'><b id='wEYTs'><form id='wEYTs'><ins id='wEYTs'></ins><ul id='wEYTs'></ul><sub id='wEYTs'></sub></form><legend id='wEYTs'></legend><bdo id='wEYTs'><pre id='wEYTs'><center id='wEYTs'></center></pre></bdo></b><th id='wEYTs'></th></span></q></dt></tr></i><div id='wEYTs'><tfoot id='wEYTs'></tfoot><dl id='wEYTs'><fieldset id='wEYTs'></fieldset></dl></div>

          <tbody id='wEYTs'></tbody>

            <legend id='wEYTs'><style id='wEYTs'><dir id='wEYTs'><q id='wEYTs'></q></dir></style></legend>
          1. <small id='wEYTs'></small><noframes id='wEYTs'>

            • <tfoot id='wEYTs'></tfoot>

                <bdo id='wEYTs'></bdo><ul id='wEYTs'></ul>
                1. 本文介绍了升压库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  自从我开始使用这个网站以来,我一直在听说 Boost 库.我想知道 Boost 库的一些主要优点是什么(因此我为什么要使用它)以及 Boost 库的可移植性如何?

                  Since I have started using this site, I keep hearing about the Boost library. I am wondering what are some of the major benefits of the Boost library (hence why should I use it) and how portable is the Boost library?

                  推荐答案

                  Boost 是由标准委员会的几个成员组织的.
                  因此,它是下一个标准中图书馆的温床.

                  Boost is organized by several members of the standard committee.
                  So it is a breeding ground for libraries that will be in the next standard.

                  1. 它是 STL 的扩展(它填补了被遗漏的部分)
                  2. 有据可查.
                  3. 经过同行评审.
                  4. 它的活跃度很高,因此可以快速发现并修复错误.
                  5. 它是平台中立的,适用于任何地方.
                  6. 可以免费使用.

                  随着 tr1 即将推出,很高兴知道 boost 已经涵盖了很多领域.tr1 中的很多库基本上都是直接从 boost 原版改编而来的,因此已经过尝试和测试.不同之处在于它们已移入 std::tr1 命名空间(而不是 boost).

                  With tr1 coming up soon it is nice to know that boost already has a lot of the ground covered. A lot of the libraries in tr1 are basically adapted directly from boost originals and thus have been tried and tested. The difference is that they have been moved into the std::tr1 namespace (rather than boost).

                  您需要做的就是将以下内容添加到默认编译器 包括搜索路径:

                  All that you need to do is add the following to your compilers default include search path:

                  <boost-install-path>/boost/tr1/tr1
                  

                  然后当你包含标准头文件时,boost 会自动将所有需要的东西导入命名空间 std::tr1

                  Then when you include the standard headers boost will automatically import all the required stuff into the namespace std::tr1

                  要使用 std::tr1::share_ptr,您只需要包含 <memory>.这将为您提供一个文件的所有智能指针.

                  To use std::tr1::share_ptr you just need to include <memory>. This will give you all the smart pointers with one file.

                  这篇关于升压库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:将 Boost 与 Emscripten 结合使用 下一篇:boost.asio 和文件 i/o 有什么关系?

                  相关文章

                    <tfoot id='EauIw'></tfoot>

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

                      <legend id='EauIw'><style id='EauIw'><dir id='EauIw'><q id='EauIw'></q></dir></style></legend>
                    1. <small id='EauIw'></small><noframes id='EauIw'>

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