摘要:
在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 = 阅读全文