函数指针,函数对象如何彼此不同?它们在哪些地方有用? [英] How does function pointer, function object differ from each other? In which places are they useful?

查看:54
本文介绍了函数指针,函数对象如何彼此不同?它们在哪些地方有用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

函数指针和函数对象(仿函数)使用

Function pointers and Function object(functors) uses

推荐答案

利用Google做一些基础研究会找到答案,例如 http://stackoverflow.com/questions/356950/c-functors-and-their-uses [<一个href =http://stackoverflow.com/questions/356950/c-functors-and-their-usestarget =_ blanktitle =New Window> ^ ]。
Making use of Google to do some basic research would find you answers such as http://stackoverflow.com/questions/356950/c-functors-and-their-uses[^].


这篇关于函数指针,函数对象如何彼此不同?它们在哪些地方有用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆