摘要:
#include <string>#include <algorithm>#include <functional>#include <cctype>using namespace std;inline string& ltrim(string &ss){ int (*pf)(int)=isspace; string::iterator p=find_if(ss.begin(),ss.end(),not1(ptr_fun(pf))); ss.erase(ss.begin(),p); return ss;}inline string 阅读全文