Closed
Description
N4480 8.2.1.2[memory.smartptr.shared.obs]p6 reads
Remarks: When
T
is an array type or cv-qualifiedvoid
, 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.
The phrase "cv-qualified void
" seems to imply that if T
is cv-unqualified (plain) void
, then this remark doesn't apply. I wonder whether this is the intent.
Activity
jwakely commentedon Apr 16, 2015
We should check the LWG minutes (from Issaquah, I think) to see if we discussed it. I think the intent is "(possible cv-qualified)
void
"jyasskin commentedon May 11, 2015
I don't see it mentioned in http://wiki.edg.com/twiki/bin/view/Wg21issaquah/LibraryWorkingGroup. I'll file a library issue.
jyasskin commentedon May 20, 2015
Filed http://cplusplus.github.io/LWG/lwg-active.html#2500. Thanks for the report.