2017年12月15日

C++几个技巧:智能指针在消息传递中的使用,元组,及lambda删除器

摘要: 1.SendMessage/PostMessage中传递对象参数 (1)方法1:使用shared_ptr 发送端: PostMessage(MyhWnd, CWM_SOME_ERROR, 0, reinterpret_cast<LPARAM>(new string(the_exception.err 阅读全文

posted @ 2017-12-15 09:54 拥剑公子 阅读(668) 评论(0) 推荐(0) 编辑

导航