#include <boost\cast.hpp>
#include <boost\lexical_cast.hpp> 

 

signed char c = boost::numeric_cast<signed char>(97);

int ii = boost::lexical_cast<int>("127");
std::string s = boost::lexical_cast<std::string>(97);
posted on 2011-05-02 16:00  袁晓平  阅读(1411)  评论(0编辑  收藏  举报