【问题标题】:Which allocator are available in STLPORT, and how to use themSTLPORT 中可用的分配器,以及如何使用它们
【发布时间】:2010-12-15 22:41:16
【问题描述】:

我们正在使用 STLPORT,我们想更改 stlport 的默认分配器: 代替vector,我们想试试vector

stlport 中提供了哪些替代分配器,它们有什么特点? 我该如何使用它们?

【问题讨论】:

    标签: c++ stl allocator stlport


    【解决方案1】:

    看看here 切换默认分配器。我想你会发现可用的分配器实现在你的安装中的include/stlport/stl/ 下。
    也就是说,它是标准的interface,你可以implement your own

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-06-25
      • 2011-09-02
      • 2013-04-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-13
      相关资源
      最近更新 更多