Created on 2023-06-23.00:00:00 last changed 7 months ago
Proposed resolution (approved by CWG 2023-07-14):
Change in 9.5.4 [dcl.fct.def.coroutine] paragraph 4 as follows:
In the following, pi is an lvalue of type Pi , where p1 denotes the object parameter and pi+1 denotes the ith non-object function parameter fora non-statican implicit object member function, and pi denotes the ith function parameter otherwise. Fora non-statican implicit object member function, q1 is an lvalue that denotes *this; any other qi is an lvalue that denotes the parameter copy corresponding to pi, as described below.
[Accepted as a DR at the November, 2023 meeting.]
Subclause 9.5.4 [dcl.fct.def.coroutine] paragraph 4 specifies:
In the following, pi is an lvalue of type Pi , where p1 denotes the object parameter and pi+1 denotes the ith non-object function parameter for a non-static member function, and pi denotes the ith function parameter otherwise. For a non-static member function, q1 is an lvalue that denotes *this; any other qi is an lvalue that denotes the parameter copy corresponding to pi , as described below.
An explicit object member function is a non-static member function, but there is no this.
History | |||
---|---|---|---|
Date | User | Action | Args |
2024-04-05 21:43:46 | admin | set | status: dr -> drwp |
2023-12-19 10:15:28 | admin | set | status: ready -> dr |
2023-07-14 22:38:36 | admin | set | status: open -> ready |
2023-06-30 09:44:27 | admin | set | messages: + msg7345 |
2023-06-23 00:00:00 | admin | create |