You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, [util.smartptr.hash] "Smart pointer hash support" is numbered 20.8.2.6, which means it is a subclause of [util.smartptr] "Shared-ownership pointers".
However, [util.smartptr.hash] speaks to hash support for unique_ptr as well as shared_ptr.
I recommend that either:
[util.smartptr.hash] be repositioned to become, say, 20.8.3, or
the section be deleted and its two paragraphs become subclauses of their respective smart pointer sections.
The text was updated successfully, but these errors were encountered:
If it was up to me I'd move hash<unique_ptr<T,D>> under [unique.ptr] and change the title of [util.smartptr] to Shared pointer hash support. The [util.smartptr] section sounds like it covers both and so would be the right place to add hash<unique_ptr<T,D>> but [util.smartptr] is actually all about shared_ptr (and related pieces such as weak_ptr).
At the moment, [util.smartptr.hash] "Smart pointer hash support" is numbered 20.8.2.6, which means it is a subclause of [util.smartptr] "Shared-ownership pointers".
However, [util.smartptr.hash] speaks to hash support for
unique_ptr
as well asshared_ptr
.I recommend that either:
The text was updated successfully, but these errors were encountered: