14.4.2.2 Better function member
来源:互联网 发布:mac操作说明 完全指南 编辑:程序博客网 时间:2024/05/18 15:55
Given an argument list A with a set of argument types A1, A2, ?, AN and two
applicable function members MP
and MQ with parameter types P1, P2, ?, PN and Q1, Q2, ?, QN, MP is defined
to be a better function member
than MQ if
?for each argument, the implicit conversion from AX to PX is not worse
than the implicit conversion from
AX to QX, and
?for at least one argument, the conversion from AX to PX is better than
the conversion from AX to QX.
When performing this evaluation, if MP or MQ is applicable in its expanded
form, then PX or QX refers to a
parameter in the expanded form of the parameter list.
applicable function members MP
and MQ with parameter types P1, P2, ?, PN and Q1, Q2, ?, QN, MP is defined
to be a better function member
than MQ if
?for each argument, the implicit conversion from AX to PX is not worse
than the implicit conversion from
AX to QX, and
?for at least one argument, the conversion from AX to PX is better than
the conversion from AX to QX.
When performing this evaluation, if MP or MQ is applicable in its expanded
form, then PX or QX refers to a
parameter in the expanded form of the parameter list.
- 14.4.2.2 Better function member
- 14.4.2.1 Applicable function member
- 14.4.3 Function member invocation
- Function语义学之member function
- const member function不明白
- win32gui Member Function
- C++ virtual member function
- Const Member Function(C++)
- member function pointer
- [MFC] CString member function
- Member function callback
- C++ member function pointer
- C++ virtual member function FAQ
- C++ virtual member function FAQ
- 指向Member Function 的指针
- Member Function的调用方式
- Functional is better than function
- static member variable and static member function in a class
- 樱花未开(更新完毕)
- 14.4 Function members
- 14.4.1 Argument lists
- 14.4.2 Overload resolution
- 14.4.2.1 Applicable function member
- 14.4.2.2 Better function member
- 14.4.2.3 Better conversion
- 14.4.3 Function member invocation
- 14.4.3.1 Invocations on boxed instances
- 14.5 Primary expressions
- 14.5.1 Literals
- 14.5.2 Simple names
- 14.5.3 Parenthesized expressions
- 14.5.4 Member access