了解Boost神器

1 部分库无须编译,包含头文件即可直接使用

摘抄自:https://github.com/dec1/Boost-for-Android

Many of the boost libraries (eg. algorithm) can be used as "header only" ie do not require compilation . So you may get away with not building boost if you only want to use these. To see which of the libraries do require building you can switch to the dir where you extracted the boost download and call:

./bootstrap.sh --show-libraries

 2 不可拷贝类

https://fzheng.me/2016/11/20/cpp_noncopyable_class/

原文地址:https://www.cnblogs.com/pepetang/p/10732592.html