Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspicious "cv-qualified void" #51

Closed
cpplearner opened this issue Apr 16, 2015 · 3 comments
Closed

Suspicious "cv-qualified void" #51

cpplearner opened this issue Apr 16, 2015 · 3 comments

Comments

@cpplearner
Copy link
Contributor

N4480 8.2.1.2[memory.smartptr.shared.obs]p6 reads

Remarks: When T is an array type or 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.

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.

@jwakely
Copy link
Member

jwakely commented 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
Copy link
Contributor

I don't see it mentioned in http://wiki.edg.com/twiki/bin/view/Wg21issaquah/LibraryWorkingGroup. I'll file a library issue.

@jyasskin
Copy link
Contributor

Filed http://cplusplus.github.io/LWG/lwg-active.html#2500. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants