>> TBB (Threading Building Blocks)

Web site:  http://threadingbuildingblocks.org/

起初下载了tbb40_278oss_src.tgz,企图自己Build一把,不料在使用TBB的时候,总是有一个无法找到tbb_debug.lib的编译错误,所以干脆下载了tbb40_278oss_win.zip用用算了

 

# error C2664: 'customized_allocator<T>::construct' : cannot convert parameter 2 from 'const char [9]' to 'char *const &'

    错误出现的地方:

        CUSTOMIZDED_STRING_SET stringSet; stringSet.insert("MyName");

  修改:
        From:
            typedef customized_set<char *> CUSTOMIZDED_STRING_SET;
        To:
            typedef customized_set<const char *> CUSTOMIZDED_STRING_SET;

相关文章:

  • 2021-11-05
  • 2021-11-19
  • 2021-09-02
  • 2022-01-22
  • 2021-12-29
  • 2022-12-23
猜你喜欢
  • 2021-05-29
  • 2022-12-23
  • 2021-11-01
  • 2021-10-22
  • 2021-06-21
  • 2021-12-04
  • 2021-10-21
相关资源
相似解决方案