This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of TS status.
Section: 8.2.1.2 [fund.ts.v2::memory.smartptr.shared.obs] Status: TS Submitter: Jeffrey Yasskin Opened: 2015-05-11 Last modified: 2017-07-30
Priority: 0
View all issues with TS status.
Discussion:
Addresses: fund.ts.v2
S. B. Tam reported this here.
N3920 changed operator*() in [util.smartptr.shared.obs] as:Remarks: When T is an array type or cv-qualified void, it is unspecified whether this member function is declared. …
This excludes cv-unqualified void, which is probably unintended.
[2015-09-11, Telecon]
Move to Tentatively Ready
Proposed resolution:
In the library fundamentals v2, [memory.smartptr.shared.obs] p2, change as indicated:
Remarks: When T is an array type or (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.