摘要: 在Properties类实现中,有一段过滤字符串空格的实现:namespace log4cplus { namespace helpers {namespace{staticintis_space (tchar ch){#if defined (UNICODE) return std::iswspace (ch);#else return std::isspace (static_cast<unsigned char>(ch));#endif}staticvoidtrim_leading_ws (tstring & str){ tstring::iterator it = 阅读全文
posted @ 2013-02-06 13:26 金石开 阅读(755) 评论(0) 推荐(0) 编辑