Topic: Proposal: allocate_unique and related utilities


Author: Miro Knejp <miro.knejp@gmail.com>
Date: Mon, 4 Apr 2016 13:44:41 -0700 (PDT)
Raw View
------=_Part_9705_721984310.1459802681639
Content-Type: multipart/alternative;
 boundary="----=_Part_9706_2014003334.1459802681640"

------=_Part_9706_2014003334.1459802681640
Content-Type: text/plain; charset=UTF-8

Here's a draft for a paper I had on my mind for quite some time now.

*Abstract*

This paper proposes the addition of the function allocate_unique() to
> complement the functionality of allocate_shared() for unique_ptr, as well
> as the addition of the utilities allocator_delete and
> make_allocator_delete() to hide frequently needed boilerplate when
> implementing allocator-aware data structures.


https://mknejp.github.io/isocpp-papers/dxxxx-allocate_unique.html

Looking forward to feedback.

--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e5504c09-9587-459d-8d5b-c78a4de928c7%40isocpp.org.

------=_Part_9706_2014003334.1459802681640
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Here&#39;s a draft for a paper I had on my mind for quite =
some time now.<div><br></div><div><b>Abstract</b></div><div><b><br></b></di=
v><div><blockquote style=3D"margin: 0px 0px 0px 0.8ex; border-left-width: 1=
px; border-left-color: rgb(204, 204, 204); border-left-style: solid; paddin=
g-left: 1ex;" class=3D"gmail_quote">This paper proposes the addition of the=
 function=C2=A0<tt class=3D"docutils literal">allocate_unique()</tt>=C2=A0t=
o complement the functionality of=C2=A0<tt class=3D"docutils literal">alloc=
ate_shared()</tt>=C2=A0for=C2=A0<tt class=3D"docutils literal">unique_ptr</=
tt>, as well as the addition of the utilities=C2=A0<tt class=3D"docutils li=
teral">allocator_delete</tt>=C2=A0and=C2=A0<tt class=3D"docutils literal">m=
ake_allocator_delete()</tt>=C2=A0to hide frequently needed boilerplate when=
 implementing allocator-aware data structures.</blockquote><div><br></div><=
div><a href=3D"https://mknejp.github.io/isocpp-papers/dxxxx-allocate_unique=
..html">https://mknejp.github.io/isocpp-papers/dxxxx-allocate_unique.html</a=
><br></div><div><br></div><div>Looking forward to feedback.<br></div><div><=
br></div><div class=3D"contents topic" id=3D"contents" style=3D"margin: 2em=
; color: rgb(0, 0, 0); font-family: Times; font-size: medium;"></div></div>=
</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/e5504c09-9587-459d-8d5b-c78a4de928c7%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/e5504c09-9587-459d-8d5b-c78a4de928c7=
%40isocpp.org</a>.<br />

------=_Part_9706_2014003334.1459802681640--
------=_Part_9705_721984310.1459802681639--

.


Author: Ville Voutilainen <ville.voutilainen@gmail.com>
Date: Mon, 4 Apr 2016 23:58:31 +0300
Raw View
On 4 April 2016 at 23:44, Miro Knejp <miro.knejp@gmail.com> wrote:
> Here's a draft for a paper I had on my mind for quite some time now.
>
> Abstract
>
>> This paper proposes the addition of the function allocate_unique() to
>> complement the functionality of allocate_shared() for unique_ptr, as well as
>> the addition of the utilities allocator_delete and make_allocator_delete()
>> to hide frequently needed boilerplate when implementing allocator-aware data
>> structures.
>
>
> https://mknejp.github.io/isocpp-papers/dxxxx-allocate_unique.html
>
> Looking forward to feedback.


Looks good and useful to me, send it to LEWG without further ado.

--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAFk2RUZ1y083Kg3UAGTwmqw0Y4CufFbRPbL%2Byjxd7Z89DPpY%3Dg%40mail.gmail.com.

.