Skip to content

Suspicious "cv-qualified void" #51

Closed
@cpplearner

Description

@cpplearner
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.

Activity

jwakely

jwakely commented on Apr 16, 2015

@jwakely
Member

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

jyasskin commented on May 11, 2015

@jyasskin
Contributor
jyasskin

jyasskin commented on May 20, 2015

@jyasskin
Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jyasskin@jwakely@cpplearner

        Issue actions

          Suspicious "cv-qualified void" · Issue #51 · cplusplus/fundamentals-ts