Chinaunix
标题:
函数是一种callable type吗?
[打印本页]
作者:
cdsfiui
时间:
2016-07-01 19:52
标题:
函数是一种callable type吗?
本帖最后由 cdsfiui 于 2016-07-01 19:52 编辑
c++标准里面说道:
20.8.1 Definitions [func.def]
1 The following definitions apply to this Clause:
2 A call signature is the name of a return type followed by a parenthesized comma-separated list of zero or
more argument types.
3 A callable type is a function object type (20.8) or a pointer to member.
4 A callable object is an object of a callable type.
复制代码
那么函数看起来就不是callable type了。但是我们可以call函数啊。我的理解哪里错了?
谢谢
作者:
neodreamerus
时间:
2016-07-05 12:08
函数肯定是callable type.这段话哪里来的?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2