Created on 2015-09-25.00:00:00 last changed 90 months ago
Proposed resolution:
This wording is relative to N4529.
In Library Fundamentals 2, change [meta.trans.other] as indicated:
-3- Within this section, define the invocation parameters of INVOKE(f, t1, t2, ..., tN) as follows, in which T1 is the possibly cv-qualified type of t1 and U1 denotes T1& if t1 is an lvalue or T1&& if t1 is an rvalue:
[…]
If f is a class object, the invocation parameters are the parameters matching t1, ..., tN of the best viable function (C++14 §13.3.3) for the arguments t1, ..., tN among the function call operators and surrogate call functions of f.
[…]
[ 2015-10, Kona Saturday afternoon ]
AM: Do we have this trait yet? JW: No, it cannot be implemented without compiler support.
Move to tentatively ready
Addresses: fund.ts.v2
In Library Fundamentals 2 (N4529) 3.3.2p3 [meta.trans.other], the definition of invocation traits for a class object f considers when f is called via a function call operator that is matched by the arguments but ignores the possibility that f may be called via a surrogate call function (C++14 [over.call.object] p2), in which case, the definition of the invocation parameters may be either incorrect or even unsatisfiable.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:10:41 | admin | set | status: wp -> open |
2016-03-07 04:18:55 | admin | set | status: ready -> wp |
2015-11-04 16:49:21 | admin | set | messages: + msg7615 |
2015-11-04 16:49:21 | admin | set | status: new -> ready |
2015-09-25 21:14:17 | admin | set | messages: + msg7537 |
2015-09-25 00:00:00 | admin | create |