Skip to content

Suspicious "cv-qualified void" #51

Closed
@cpplearner

Description

@cpplearner

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.

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

    Issue actions