摘要:
#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 阅读全文
摘要:
#include <boost/utility.hpp>class no_copy : boost::noncopyable //默认私有继承{}; 阅读全文