c++11实现一个简单的lexical_cast
摘要:
boost中有一个lexical_cast可以用统一的方式来做基本类型之间的转换,比如字符串到数字,数字到字符串,bool和字符串及数字之间的相互转换。boost::lexical_cast的用法比较简单:#include #include #include #define ERROR_LEX... 阅读全文
posted @ 2015-05-28 21:48 qicosmos(江南) 阅读(4939) 评论(0) 推荐(0) 编辑