Topic: std::initializer_list fix
Author: gogu <valeriu.smerica@my.fmi.unibuc.ro>
Date: Wed, 27 Feb 2019 08:12:21 -0800 (PST)
Raw View
------=_Part_1962_69712014.1551283941526
Content-Type: multipart/alternative;
boundary="----=_Part_1963_448747249.1551283941526"
------=_Part_1963_448747249.1551283941526
Content-Type: text/plain; charset="UTF-8"
Remove the constness of the underlying array used by a
std::initializer_list so that elements can be moved from it.
--
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/70a5d46b-8046-4588-a6aa-7dc4308d13bf%40isocpp.org.
------=_Part_1963_448747249.1551283941526
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><span>Remove the constness of the underlying array used by=
a std::initializer_list so that elements can be moved from it.</span></div=
>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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/70a5d46b-8046-4588-a6aa-7dc4308d13bf%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/70a5d46b-8046-4588-a6aa-7dc4308d13bf=
%40isocpp.org</a>.<br />
------=_Part_1963_448747249.1551283941526--
------=_Part_1962_69712014.1551283941526--
.
Author: Nicolas Lesser <blitzrakete@gmail.com>
Date: Wed, 27 Feb 2019 18:20:00 +0100
Raw View
--000000000000e3b3840582e36259
Content-Type: text/plain; charset="UTF-8"
It's not that easy unfortunately. This has been already proposed, so you
might want to look up any previous discussion.
The biggest against: It breaks ABI.
On Wed, Feb 27, 2019, 5:12 PM gogu <valeriu.smerica@my.fmi.unibuc.ro> wrote:
> Remove the constness of the underlying array used by a
> std::initializer_list so that elements can be moved from it.
>
> --
> 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/70a5d46b-8046-4588-a6aa-7dc4308d13bf%40isocpp.org
> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/70a5d46b-8046-4588-a6aa-7dc4308d13bf%40isocpp.org?utm_medium=email&utm_source=footer>
> .
>
--
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/CALmDwq0mOcQdYdhXX-TiL-ZZV3J8JMDC73r1fYVQ13oUKtVmcQ%40mail.gmail.com.
--000000000000e3b3840582e36259
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">It's not that easy unfortunately. This has been alrea=
dy proposed, so you might want to look up any previous discussion.<div dir=
=3D"auto"><br></div><div dir=3D"auto">The biggest against: It breaks ABI.</=
div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Wed, Feb 27, 2019, 5:12 PM gogu <<a href=3D"mailto:valeriu.smeric=
a@my.fmi.unibuc.ro">valeriu.smerica@my.fmi.unibuc.ro</a>> wrote:<br></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><span>Remove the constnes=
s of the underlying array used by a std::initializer_list so that elements =
can be moved from it.</span></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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" target=3D"_=
blank" rel=3D"noreferrer">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank" rel=3D"noreferrer">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/70a5d46b-8046-4588-a6aa-7dc4308d13bf%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter" target=3D"_blank" =
rel=3D"noreferrer">https://groups.google.com/a/isocpp.org/d/msgid/std-propo=
sals/70a5d46b-8046-4588-a6aa-7dc4308d13bf%40isocpp.org</a>.<br>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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/CALmDwq0mOcQdYdhXX-TiL-ZZV3J8JMDC73r1=
fYVQ13oUKtVmcQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CALmDwq0mOcQdYdhX=
X-TiL-ZZV3J8JMDC73r1fYVQ13oUKtVmcQ%40mail.gmail.com</a>.<br />
--000000000000e3b3840582e36259--
.
Author: Brian Bi <bbi5291@gmail.com>
Date: Wed, 27 Feb 2019 11:31:17 -0600
Raw View
--0000000000004a66670582e38b87
Content-Type: text/plain; charset="UTF-8"
P0065 <http://wg21.link/P0065> seems to be the most currently relevant
"movable initializer list" proposal. Its author says that the reason why we
still don't have movable initializer lists it that "the committee denies
that the problem is significant." (source
<https://www.reddit.com/r/cpp/comments/7a1o7f/why_does_stdinitializer_list_prevents_using/dp6jvlw>).
This doesn't mean we should give up, but it does suggest that we might want
to focus effort on showing why this would be useful rather than just coming
up with more proposals.
On Wed, Feb 27, 2019 at 11:20 AM Nicolas Lesser <blitzrakete@gmail.com>
wrote:
> It's not that easy unfortunately. This has been already proposed, so you
> might want to look up any previous discussion.
>
> The biggest against: It breaks ABI.
>
> On Wed, Feb 27, 2019, 5:12 PM gogu <valeriu.smerica@my.fmi.unibuc.ro>
> wrote:
>
>> Remove the constness of the underlying array used by a
>> std::initializer_list so that elements can be moved from it.
>>
>> --
>> 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/70a5d46b-8046-4588-a6aa-7dc4308d13bf%40isocpp.org
>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/70a5d46b-8046-4588-a6aa-7dc4308d13bf%40isocpp.org?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CALmDwq0mOcQdYdhXX-TiL-ZZV3J8JMDC73r1fYVQ13oUKtVmcQ%40mail.gmail.com
> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CALmDwq0mOcQdYdhXX-TiL-ZZV3J8JMDC73r1fYVQ13oUKtVmcQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
*Brian Bi*
--
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/CAMmfjbPO4Q0a9NDTg5Eq0yWPRFkcnv5MSf-DVgW0zJMBaU%3DUmg%40mail.gmail.com.
--0000000000004a66670582e38b87
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><font face=3D"arial, helvetica, sans-serif"><a href=
=3D"http://wg21.link/P0065">P0065</a>=C2=A0seems to be the most currently r=
elevant "movable initializer list" proposal. Its author says that=
the reason why we still don't have movable initializer lists it that &=
quot;<span style=3D"color:rgb(26,26,27)">the committee denies that the prob=
lem is significant." (<a href=3D"https://www.reddit.com/r/cpp/comments=
/7a1o7f/why_does_stdinitializer_list_prevents_using/dp6jvlw" style=3D"">sou=
rce</a>). This doesn't mean we should give up, but it does suggest that=
we might want to focus effort on showing why this would be useful rather t=
han just coming up with more proposals.</span></font></div><div dir=3D"ltr"=
><br></div><div dir=3D"ltr"><br></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Wed, Feb 27, 2019 at 11:20 AM Nico=
las Lesser <<a href=3D"mailto:blitzrakete@gmail.com">blitzrakete@gmail.c=
om</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex=
"><div dir=3D"auto">It's not that easy unfortunately. This has been alr=
eady proposed, so you might want to look up any previous discussion.<div di=
r=3D"auto"><br></div><div dir=3D"auto">The biggest against: It breaks ABI.<=
/div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_a=
ttr">On Wed, Feb 27, 2019, 5:12 PM gogu <<a href=3D"mailto:valeriu.smeri=
ca@my.fmi.unibuc.ro" target=3D"_blank">valeriu.smerica@my.fmi.unibuc.ro</a>=
> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div=
dir=3D"ltr"><span>Remove the constness of the underlying array used by a s=
td::initializer_list so that elements can be moved from it.</span></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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" rel=3D"nore=
ferrer" target=3D"_blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" rel=3D"noreferrer" target=3D"_blank">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/70a5d46b-8046-4588-a6aa-7dc4308d13bf%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter" rel=3D"noreferrer"=
target=3D"_blank">https://groups.google.com/a/isocpp.org/d/msgid/std-propo=
sals/70a5d46b-8046-4588-a6aa-7dc4308d13bf%40isocpp.org</a>.<br>
</blockquote></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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" target=3D"_=
blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">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/CALmDwq0mOcQdYdhXX-TiL-ZZV3J8JMDC73r1=
fYVQ13oUKtVmcQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter"=
target=3D"_blank">https://groups.google.com/a/isocpp.org/d/msgid/std-propo=
sals/CALmDwq0mOcQdYdhXX-TiL-ZZV3J8JMDC73r1fYVQ13oUKtVmcQ%40mail.gmail.com</=
a>.<br>
</blockquote></div><br clear=3D"all"><div><br></div>-- <br><div dir=3D"ltr"=
class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><font col=
or=3D"#c0c0c0"><i>Brian Bi</i></font><br><div></div><div></div><div></div><=
/div></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" 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/CAMmfjbPO4Q0a9NDTg5Eq0yWPRFkcnv5MSf-D=
VgW0zJMBaU%3DUmg%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAMmfjbPO4Q0a9N=
DTg5Eq0yWPRFkcnv5MSf-DVgW0zJMBaU%3DUmg%40mail.gmail.com</a>.<br />
--0000000000004a66670582e38b87--
.