1.3.10 - [defns.signature] - 【定义.签名】

请不要转载本文;请不要以任何形式重新出版,发布本文;请在下载本文 24 小时内将其删除;禁止将本文用于商业目的。

1 General [intro]

1.3 Definitions [intro.defs]
1.3.10 signature [defns.signature]

 

1 综述 【介绍】

1.3 定义 【介绍.定义】
1.3.10 签名 【定义.签名】

 

the information about a function that participates in overload resolution (13.3): the types of its parameters and, if the function is a class member, the cv- qualifiers (if any) on the function itself and the class in which the member function is declared.2) The signature of a template function specialization includes the types of its template arguments (14.5.5.1).

 

函数的重载解析过程(13.3)需要的信息:包括参数的类型,当函数是类成员时,函数本身的 cv- 限定符(如果存在)和定义此成员函数的类。2) 特化的模板函数的签名同时包括其模板参数的类型(14.5.5.1)。

 

2) Function signatures do not include return type, because that does not participate in overload resolution.

 

2) 函数签名中不包含返回值类型,因为它不参与函数的重载解析过程。

 

PREV [defns.parameter] | NEXT [defns.static.type]上一页 【定义.参数】 | 下一页 【定义.静态.类型】
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值