N3939: Extending make_shared to Support Arrays, Revision 2 -- Peter Dimov, Glen Fernandes

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: N3939

Date: 2014-02-17

Extending make_shared to Support Arrays, Revision 2

by Peter Dimov and Glen Fernandes


This paper proposes adding array support to make_shared, via the syntax make_shared<T[]> and make_shared<T[N]>.

This revision of N3870 removes the scalar T&& overloads, reflecting the result of the LEWG review.

Add a Comment

Comments are closed.

Comments (2)

0 0

Akira Takahashi said on Feb 20, 2014 09:57 PM:

Concepts TS? Why not Library Fundamentals TS? mistake?
0 0

Blog Staff said on Feb 21, 2014 10:09 AM:

Thanks, Akira, the note was spurious and has been removed.