Topic: A proposal to introduce an optional parameter
Author: Mikhail Semenov <mikhailsemenov1957@gmail.com>
Date: Mon, 3 Jun 2013 10:54:43 +0100
Raw View
--047d7b339a3f3ac0a204de3cf4e8
Content-Type: text/plain; charset=ISO-8859-1
Jonathan,
I don't think it is completely pointless. Most of the time we run our code
in debug mode.
Mikhail.
--
---
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en.
--047d7b339a3f3ac0a204de3cf4e8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div>Jonathan,</div>
<div>=A0</div>
<div>I don't think it is completely pointless. Most of the time we run =
our code in debug mode.</div>
<div>=A0</div>
<div>Mikhail.<br><br></div>
<p></p>
-- <br />
<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
<br />
<br />
--047d7b339a3f3ac0a204de3cf4e8--
.
Author: Jonathan Wakely <cxx@kayari.org>
Date: Mon, 3 Jun 2013 03:24:46 -0700 (PDT)
Raw View
------=_Part_206_16957251.1370255086345
Content-Type: text/plain; charset=ISO-8859-1
On Monday, June 3, 2013 10:54:43 AM UTC+1, Mikhail Semenov wrote:
>
> Jonathan,
>
> I don't think it is completely pointless. Most of the time we run our code
> in debug mode.
>
>
I'm still not sure what you mean by "debug mode", GCC allows debugging
symbols with -O3, and allows no debugging symbols with -O0, so if you
really mean "unoptimized" then say so.
If that is what you mean then it's a case of "Doctor, Doctor, when I don't
optimize my code it runs slowly." "Don't do that then."
GCC's std::bind should be close to optimal, AFAIK it does no copying or
moving that isn't required by the standard. Maybe you should look at the
-Og option, to get better performance without sacrificing debuggability.
The implementation already provides solutions, if you choose not to use
them then that's not an implementation issue.
--
---
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en.
------=_Part_206_16957251.1370255086345
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Monday, June 3, 2013 10:54:43 AM UTC+1, Mikhail Semenov wrote:<blockquot=
e class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: =
1px #ccc solid;padding-left: 1ex;"><div>Jonathan,</div>
<div> </div>
<div>I don't think it is completely pointless. Most of the time we run our =
code in debug mode.</div><br></blockquote><div><br>I'm still not sure what =
you mean by "debug mode", GCC allows debugging symbols with -O3, and allows=
no debugging symbols with -O0, so if you really mean "unoptimized" then sa=
y so.<br><br>If that is what you mean then it's a case of "Doctor, Doctor, =
when I don't optimize my code it runs slowly." "Don't do that then."<br><br=
>GCC's std::bind should be close to optimal, AFAIK it does no copying or mo=
ving that isn't required by the standard. Maybe you should look at the -Og =
option, to get better performance without sacrificing debuggability. =
The implementation already provides solutions, if you choose not to use the=
m then that's not an implementation issue.<br><br></div>
<p></p>
-- <br />
<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
<br />
<br />
------=_Part_206_16957251.1370255086345--
.
Author: Mikhail Semenov <mikhailsemenov1957@gmail.com>
Date: Tue, 23 Jul 2013 14:40:37 +0100
Raw View
--089e01160884273c7004e22df0c1
Content-Type: text/plain; charset=ISO-8859-1
*>Why is your mem_fn proposal not also redundant with generic lambda
expressions?*
You're probably right. But I would prefer *member_delegate* it to be part
of the standard then, instead of defining it every time I want to use it.
Another concern is whether the caption [&] will work in all the
circumstances.
--
---
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.
--089e01160884273c7004e22df0c1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div><font color=3D"#993399"><strong>>Why is your mem_fn proposal not al=
so redundant with generic lambda expressions?</strong></font></div>
<div>=A0</div>
<div>You're probably right. But I would prefer <strong>member_delegate<=
/strong> it to be part of the standard then, instead of defining it every t=
ime I want to use it. Another concern is whether the caption [&] will w=
ork in all the circumstances.</div>
<div>=A0</div>
<div><br><br>=A0</div>
<p></p>
-- <br />
<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />
<br />
<br />
--089e01160884273c7004e22df0c1--
.
Author: Mikhail Semenov <mikhailsemenov1957@gmail.com>
Date: Tue, 23 Jul 2013 14:42:18 +0100
Raw View
--089e01176a112fd5bd04e22df625
Content-Type: text/plain; charset=ISO-8859-1
Sorry I meant the *capture *[&].
>
>
>
>
--
---
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.
--089e01176a112fd5bd04e22df625
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Sorry I meant the <strong><em><font face=3D"arial black,sans-serif">capture=
</font></em></strong>[&].<br><br>
<div class=3D"gmail_quote">
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote">
<div>=A0</div>
<div><br><br>=A0</div></blockquote></div><br>
<p></p>
-- <br />
<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />
<br />
<br />
--089e01176a112fd5bd04e22df625--
.