欢迎访问我的独立博客
摘要: #include <boost/lexical_cast.hpp>#include <iostream>using namespace boost;using namespace std;int main(){ int x = lexical_cast<int>("100"); long y = lexical_cast<long>("2000"); float pi = lexical_cast<float>("3.14159e5"); double e = lexical 阅读全文
posted @ 2012-11-21 18:37 github.com/starRTC 阅读(332) 评论(0) 推荐(0) 编辑
摘要: #include <boost/utility.hpp>class no_copy : boost::noncopyable //默认私有继承{}; 阅读全文
posted @ 2012-11-21 18:28 github.com/starRTC 阅读(279) 评论(0) 推荐(0) 编辑