Templates in depth(Chapter 3 of Thinking in C++ Vol 2)
摘要:
StringConvCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#ifndefSTRINGCONV_H#defineSTRINGCONV_H#includestring#includesstreamtemplatetypenameTTfromString(conststd::string&s){std::istringstreamis(s);Tt;ist;returnt;}templatetypenameTstd::stri 阅读全文
posted @ 2010-12-25 17:45 Ray Z 阅读(228) 评论(0) 推荐(0) 编辑