Created on 2015-12-13.00:00:00 last changed 89 months ago
Proposed resolution:
This wording is relative to N4567.
Edit [util.smartptr.shared.obs]/4 as indicated:
T& operator*() const noexcept;[…]
-4- Remarks: When T is (possibly cv-qualified) void, it is unspecified whether this member function is declared. If it is declared, it is unspecified what its return type is, except that the declaration (although not necessarily the definition) of the function shall be well formed.
[ 2016-02, Issues Telecon ]
P0; move to Tentatively Ready.
[util.smartptr.shared.obs]/4 says for shared_ptr::operator*
Remarks: When T is void, it is unspecified whether this member function is declared. If it is declared, it is unspecified what its return type is, except that the declaration (although not necessarily the definition) of the function shall be well formed.
This remark should also apply when T is cv-qualified void (compare LWG 2500).
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-03-07 04:11:48 | admin | set | status: ready -> wp |
2016-02-07 20:24:45 | admin | set | messages: + msg7963 |
2016-02-07 20:24:45 | admin | set | status: new -> ready |
2015-12-17 19:25:36 | admin | set | messages: + msg7662 |
2015-12-13 00:00:00 | admin | create |