摘要: functor仿函数 重载函数调用(),可当作函数使用。 跟函数指针相比,能保存状态(即struct的private变量) https://stackoverflow.com/questions/356950/what are c functors and their uses ` template 阅读全文
posted @ 2018-09-10 17:46 hxidkd 阅读(175) 评论(0) 推荐(0) 编辑