Topic: Quick and tiny piece of feedback for p0560r0


Author: german@emotiv.com
Date: Mon, 13 Feb 2017 01:18:33 -0800 (PST)
Raw View
------=_Part_6184_191851608.1486977513722
Content-Type: multipart/alternative;
 boundary="----=_Part_6185_613585827.1486977513722"

------=_Part_6185_613585827.1486977513722
Content-Type: text/plain; charset=UTF-8

The paper is here:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0560r0.html

All comparison operators are stateless. I wonder why it would not be better
to do this:

inline constexpr plus<void> plus;

and get also read of the parentheses.

--
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/ed23fa15-57dd-4acb-b33d-c4096f458233%40isocpp.org.

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

<div dir=3D"ltr">The paper is here:<div><br></div><div>http://www.open-std.=
org/jtc1/sc22/wg21/docs/papers/2017/p0560r0.html<br></div><div><br></div><d=
iv>All comparison operators are stateless. I wonder why it would not be bet=
ter to do this:</div><div><br></div><div>inline constexpr plus&lt;void&gt; =
plus;</div><div><br></div><div>and get also read of the parentheses.</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/ed23fa15-57dd-4acb-b33d-c4096f458233%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ed23fa15-57dd-4acb-b33d-c4096f458233=
%40isocpp.org</a>.<br />

------=_Part_6185_613585827.1486977513722--

------=_Part_6184_191851608.1486977513722--

.


Author: "Miro Knejp" <miro.knejp@gmail.com>
Date: Mon, 13 Feb 2017 11:05:43 +0100
Raw View
This is a multipart message in MIME format.

------=_NextPart_000_023C_01D285E9.1F7BB1C0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

From: german@emotiv.com [mailto:german@emotiv.com]=20
Sent: Monday, 13 February, 2017 10:19
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Subject: [std-proposals] Quick and tiny piece of feedback for p0560r0

=20

The paper is here:

=20

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0560r0.html

=20

All comparison operators are stateless. I wonder why it would not be better=
 to do this:

=20

inline constexpr plus<void> plus;

Can=E2=80=99t declare a variable with the same name as a type in the same n=
amespace.

=20

--=20
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 e=
mail 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/023b01d285e0%24bdb57500%2439205f00%24%40gmail.co=
m.

------=_NextPart_000_023C_01D285E9.1F7BB1C0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dutf-8"><meta name=3DGenerator content=3D"Microsoft=
 Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
 {font-family:"Cambria Math";
 panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
 {font-family:Calibri;
 panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
 {margin:0cm;
 margin-bottom:.0001pt;
 font-size:12.0pt;
 font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
 {mso-style-priority:99;
 color:blue;
 text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
 {mso-style-priority:99;
 color:purple;
 text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
 {mso-style-name:msonormal;
 mso-margin-top-alt:auto;
 margin-right:0cm;
 mso-margin-bottom-alt:auto;
 margin-left:0cm;
 font-size:12.0pt;
 font-family:"Times New Roman",serif;}
span.EmailStyle19
 {mso-style-type:personal-reply;
 font-family:"Calibri",sans-serif;
 color:windowtext;}
..MsoChpDefault
 {mso-style-type:export-only;
 font-family:"Calibri",sans-serif;}
@page WordSection1
 {size:612.0pt 792.0pt;
 margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
 {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal style=3D'margin-=
left:36.0pt'><b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-=
serif'>From:</span></b><span style=3D'font-size:11.0pt;font-family:"Calibri=
",sans-serif'> german@emotiv.com [mailto:german@emotiv.com] <br><b>Sent:</b=
> Monday, 13 February, 2017 10:19<br><b>To:</b> ISO C++ Standard - Future P=
roposals &lt;std-proposals@isocpp.org&gt;<br><b>Subject:</b> [std-proposals=
] Quick and tiny piece of feedback for p0560r0<o:p></o:p></span></p><p clas=
s=3DMsoNormal style=3D'margin-left:36.0pt'><o:p>&nbsp;</o:p></p><div><p cla=
ss=3DMsoNormal style=3D'margin-left:36.0pt'>The paper is here:<o:p></o:p></=
p><div><p class=3DMsoNormal style=3D'margin-left:36.0pt'><o:p>&nbsp;</o:p><=
/p></div><div><p class=3DMsoNormal style=3D'margin-left:36.0pt'><a href=3D"=
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0560r0.html">http:=
//www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0560r0.html</a><o:p></o=
:p></p></div><div><p class=3DMsoNormal style=3D'margin-left:36.0pt'><o:p>&n=
bsp;</o:p></p></div><div><p class=3DMsoNormal style=3D'margin-left:36.0pt'>=
All comparison operators are stateless. I wonder why it would not be better=
 to do this:<o:p></o:p></p></div><div><p class=3DMsoNormal style=3D'margin-=
left:36.0pt'><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal style=3D'=
margin-left:36.0pt'>inline constexpr plus&lt;void&gt; plus;<o:p></o:p></p><=
p class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri",s=
ans-serif'>Can=E2=80=99t declare a variable with the same name as a type in=
 the same namespace.</span><o:p></o:p></p></div></div><p class=3DMsoNormal>=
<o:p>&nbsp;</o:p></p></div></body></html>

<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/023b01d285e0%24bdb57500%2439205f00%24=
%40gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/023b01d285e0%24bdb57500%2439205f00%2=
4%40gmail.com</a>.<br />

------=_NextPart_000_023C_01D285E9.1F7BB1C0--


.


Author: =?UTF-8?Q?Germ=C3=A1n_Diago?= <germandiago@gmail.com>
Date: Mon, 13 Feb 2017 05:06:15 -0800 (PST)
Raw View
------=_Part_2092_2022153785.1486991175272
Content-Type: text/plain; charset=UTF-8

Plusf or plus_v could do. The gist of this was to omit parenthesis also.

--
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/a0d23178-050a-479e-adde-b74a989a6fe1%40isocpp.org.

------=_Part_2092_2022153785.1486991175272--

.