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
The atomic<shared_ptr<T>> and atomic<weak_ptr<T>> partial specializations are declared by <memory>, but are specified in Clause 31 [atomics]. Nothing in that Clause every mentions <memory>. It's not at all obvious which header you need for those specializations, unless you happen to find their declarations on the eighth page of of the <memory> synopsis in [memory.syn].
I think we should have a note in [util.smartptr.atomic] saying they're provided by <memory>.
The text was updated successfully, but these errors were encountered:
The
atomic<shared_ptr<T>>
andatomic<weak_ptr<T>>
partial specializations are declared by<memory>
, but are specified in Clause 31 [atomics]. Nothing in that Clause every mentions<memory>
. It's not at all obvious which header you need for those specializations, unless you happen to find their declarations on the eighth page of of the<memory>
synopsis in [memory.syn].I think we should have a note in [util.smartptr.atomic] saying they're provided by
<memory>
.The text was updated successfully, but these errors were encountered: