摘要:
class A { public: A(); ~A(); int funA(); } typedef std::fun(int()) CallFun; //绑定回调函数 CallFun fun1 = boost::bind(&A::funA,&fun); //使用 int i = fun1(); / 阅读全文
摘要:
CString cstr; std::string str = _com_util::ConvertBSTRToString(cstr.GetBuffer()); CString cstr = _com_util::ConvertStringToBSTR(str.c_str()); 当然还有其它的一 阅读全文