Note: This paper was among the papers adopted into the Library Fundamentals TS yesterday at the Issaquah WA USA ISO C++ meeting.
A new WG21 paper is available. A copy is linked below, and the paper will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N3920
Date: 2014-02-13
Extending shared_ptr to Support Arrays, Revision 2
by Peter Dimov
Excerpt:
This paper proposes adding array support to
shared_ptr
, via the syntaxshared_ptr<T[]>
andshared_ptr<T[N]>
....
Thanks to Glen Fernandes, whose contribution of
boost::make_shared
for arrays prompted theboost::shared_ptr
additions proposed herein.Thanks to Daniel Krügler for reviewing an earlier revision of this paper and suggesting wording improvements.
Thanks to Jonathan Wakely for providing valuable feedback.
Add a Comment
Comments are closed.