使用Boost unordered_map [英] Using Boost unordered_map

查看:188
本文介绍了使用Boost unordered_map的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想包括的boost :: unordered_map 在我的项目,而无需下载整个升压包。我该怎么做?

I want to include boost::unordered_map in my project without downloading the whole Boost package. How can I do that?

推荐答案

使用 BCP :<一href=\"http://www.boost.org/doc/libs/1_52_0/tools/bcp/doc/html/index.html\">http://www.boost.org/doc/libs/1_52_0/tools/bcp/doc/html/index.html

cd $BOOST_DIR
bcp unordered_map /tmp/TEST

现在/ tmp / test目录中包含的只有(unordered_map 为所需要的东西,在我的案件为15兆字节,而不是以734Mb为全力助推库)

Now /tmp/TEST contains only the things required for unordered_map, in my case 15Mb (as opposed to 734Mb for the full boost library)

这篇关于使用Boost unordered_map的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆