<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[softworms的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/softworms</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; softworms]]></copyright><item><title><![CDATA[VC6中使用for_each和mem_fun遇到问题的解决办法]]></title><link>https://blog.csdn.net/softworms/article/details/2052016</link><guid>https://blog.csdn.net/softworms/article/details/2052016</guid><author>softworms</author><pubDate>Fri, 18 Jan 2008 20:55:00 +0800</pubDate><description><![CDATA[最近搞VC6的老项目，遇到STL方面的问题class test{public: int f(int a) {   afxDump  return 0; }protected:private:}; test t; vector v; v.push_back(1); v.push_back(2); for_each(v.begin(),   v.end(),   bind1st(mem_fun]]></description><category></category></item><item><title><![CDATA[让string支持LPCSTR操作符]]></title><link>https://blog.csdn.net/softworms/article/details/668263</link><guid>https://blog.csdn.net/softworms/article/details/668263</guid><author>softworms</author><pubDate>Tue, 18 Apr 2006 19:46:00 +0800</pubDate><description><![CDATA[class mystring :public string//进行派生操作{public: mystring(LPCTSTR str):string(str){} operator LPCTSTR() const {return c_str();} };void ss(LPCSTR str){ cout}int main(int argc, char* argv[]){  mystring]]></description><category></category></item></channel></rss>