摘要:
转自: https://www.cnblogs.com/hustxujinkang/p/5218148.html //////////// 这里 highPriority 是一个bool &. 所以希望返回 bool 的做法: 阅读全文
随笔分类 - C++11/14
std::bind 的使用说明
2019-04-25 16:21 by 技术文档总结, 6816 阅读, 收藏,
摘要:
转自: https://www.cnblogs.com/cmranger/p/4743926.html ///////////////////// std::bind bind是对C++98标准中函数适配器bind1st/bind2nd的泛化和增强,可以适配任意的可调用对象,包括函数指针、函数引用、 阅读全文
std::function 的使用说明
2019-04-25 16:20 by 技术文档总结, 4074 阅读, 收藏,
摘要:
转自: https://www.cnblogs.com/heartchord/p/5017071.html //////////////////// std::function 参考资料 • cplusplus.com:http://www.cplusplus.com/reference/funct 阅读全文
浙公网安备 33010602011771号