<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.co.uk/group/comp.std.c++</id>
  <title type="text">comp.std.c++ Google Group</title>
  <subtitle type="text">
  Discussion about C++ language, library, standards. (Moderated)
  </subtitle>
  <link href="/group/comp.std.c++/feed/atom_v1_0_msgs.xml" rel="self" title="comp.std.c++ feed"/>
  <updated>2009-11-08T00:05:27Z</updated>
  <generator uri="http://groups.google.co.uk" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Anthony Williams</name>
  <email>anthony....@gmail.com</email>
  </author>
  <updated>2009-11-08T00:05:27Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/e35b1a3dc9b68cd4/3b6585b3914694db?show_docid=3b6585b3914694db</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/e35b1a3dc9b68cd4/3b6585b3914694db?show_docid=3b6585b3914694db"/>
  <title type="text">Re: Semantics of some std::atomic&lt;iType&gt; member functions</title>
  <summary type="html" xml:space="preserve">
  Oops, that was a typo. I meant paragraph 26 (which is what I quoted &lt;br&gt; above), but yes everything from 22 onwards is relevant. &lt;br&gt; Anthony
  </summary>
  </entry>
  <entry>
  <author>
  <name>Joe Smith</name>
  <email>unknown_kev_...@hotmail.com</email>
  </author>
  <updated>2009-11-07T05:39:49Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/0421cd8b98acf7c5/83b04cc19b1d759a?show_docid=83b04cc19b1d759a</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/0421cd8b98acf7c5/83b04cc19b1d759a?show_docid=83b04cc19b1d759a"/>
  <title type="text">Re: Why there are both complex::real and std::real?</title>
  <summary type="html" xml:space="preserve">
  I was aware of this case, but was under the impression that overloads for &lt;br&gt; user defined types were also permitted. The underlying logic being the same. &lt;br&gt; I suppose that would not be needed if all functions where adding an overload &lt;br&gt; for a user defined type could be useful are actually function templates, so
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ville Voutilainen</name>
  <email>ville.voutilai...@gmail.com</email>
  </author>
  <updated>2009-11-06T20:56:17Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/2b1f5d90e75041c6?show_docid=2b1f5d90e75041c6</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/2b1f5d90e75041c6?show_docid=2b1f5d90e75041c6"/>
  <title type="text">Re: Lambda captures in N2960</title>
  <summary type="html" xml:space="preserve">
  On Nov 6, 7:55 pm, Ville Voutilainen &amp;lt;ville.voutilai...@gmail.com&amp;gt; &lt;br&gt; wrote: &lt;br&gt; Sorry to reply to myself, but Daveed Vandevoorde helpfully pointed out &lt;br&gt; that if a closure class contains reference members, the assignment &lt;br&gt; becomes &lt;br&gt; difficult to do correctly in all cases. That&#39;s the reason why lambdas &lt;br&gt; can be copy-constructed but not copy-assigned.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Hyman Rosen</name>
  <email>hyro...@mail.com</email>
  </author>
  <updated>2009-11-06T20:55:48Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/a8e772c69e71b73e/8b47c2f9016a5433?show_docid=8b47c2f9016a5433</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/a8e772c69e71b73e/8b47c2f9016a5433?show_docid=8b47c2f9016a5433"/>
  <title type="text">Re: Plauger resigned as convener?</title>
  <summary type="html" xml:space="preserve">
  You&#39;re missing the point. With a properly set up system, &lt;br&gt; the discussions would happen continually on line.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Scott Meyers</name>
  <email>use...@aristeia.com</email>
  </author>
  <updated>2009-11-06T20:43:39Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/e35b1a3dc9b68cd4/69b4d66d878de140?show_docid=69b4d66d878de140</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/e35b1a3dc9b68cd4/69b4d66d878de140?show_docid=69b4d66d878de140"/>
  <title type="text">Re: Semantics of some std::atomic&lt;iType&gt; member functions</title>
  <summary type="html" xml:space="preserve">
  Okay, I see it now. Silly me, searching for &amp;quot;|=&amp;quot; in an attempt to &lt;br&gt; find a description of semantics for operator|=. &lt;br&gt; For the record, my copy of N2960 has this information in paragraphs &lt;br&gt; 22ff, not paragraph 6. &lt;br&gt; Scott
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ville Voutilainen</name>
  <email>ville.voutilai...@gmail.com</email>
  </author>
  <updated>2009-11-06T17:57:01Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/94ef9b0dca4c8fa2?show_docid=94ef9b0dca4c8fa2</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/94ef9b0dca4c8fa2?show_docid=94ef9b0dca4c8fa2"/>
  <title type="text">Re: Lambda captures in N2960</title>
  <summary type="html" xml:space="preserve">
  That is correct AFAIK. It would be beneficial to see whether that is a &lt;br&gt; problem, &lt;br&gt; we corrected the reach of lambda in order to be able to port &lt;br&gt; functional code &lt;br&gt; from other languages to c++, so if there are cases (or existing &lt;br&gt; algorithms) &lt;br&gt; where modification of copies in a lambda is necessary, we may want to
  </summary>
  </entry>
  <entry>
  <author>
  <name>george.ryan@gmail.com</name>
  <email>george.r...@gmail.com</email>
  </author>
  <updated>2009-11-06T17:51:30Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/a8e772c69e71b73e/302093838a794e89?show_docid=302093838a794e89</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/a8e772c69e71b73e/302093838a794e89?show_docid=302093838a794e89"/>
  <title type="text">Re: Plauger resigned as convener?</title>
  <summary type="html" xml:space="preserve">
  Good idea in theory, but the risk is that the practice of typing all &lt;br&gt; of the discussions into a forum takes longer to do than any benefit &lt;br&gt; gained from having every thought public. It&#39;s much quicker for those &lt;br&gt; involved to have a group discussion in person than it is to type out &lt;br&gt; long essays to each other.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ville Voutilainen</name>
  <email>ville.voutilai...@gmail.com</email>
  </author>
  <updated>2009-11-06T17:55:21Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/2d598317e968095c?show_docid=2d598317e968095c</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/2d598317e968095c?show_docid=2d598317e968095c"/>
  <title type="text">Re: Lambda captures in N2960</title>
  <summary type="html" xml:space="preserve">
  Other parts of that are correct, but the assignment is not. &lt;br&gt; [expr.prim.lambda]/p18 &lt;br&gt; states that &lt;br&gt; &amp;quot;The closure type associated with a lambda-expression has a deleted &lt;br&gt; default constructor and a deleted copy &lt;br&gt; assignment operator.&amp;quot; &lt;br&gt; The copy assignment is deleted so you can&#39;t assign lambdas. You can &lt;br&gt; copy construct them, though.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Hyman Rosen</name>
  <email>hyro...@mail.com</email>
  </author>
  <updated>2009-11-05T23:26:59Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/a8e772c69e71b73e/180c384aaa03f924?show_docid=180c384aaa03f924</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/a8e772c69e71b73e/180c384aaa03f924?show_docid=180c384aaa03f924"/>
  <title type="text">Re: Plauger resigned as convener?</title>
  <summary type="html" xml:space="preserve">
  Discussions. You can get some feel for what&#39;s going on by &lt;br&gt; looking at the mailings, e.g., &lt;br&gt; &amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/#mailing2009-09&quot;&gt;[link]&lt;/a&gt;&amp;gt;, &lt;br&gt; but look at this in a paper by Stroustrup and Crowl: &lt;br&gt; &amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2953.html#Introduction&quot;&gt;[link]&lt;/a&gt;&amp;gt; &lt;br&gt; Paper N2904 examined the generation of default copy
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ville Voutilainen</name>
  <email>ville.voutilai...@gmail.com</email>
  </author>
  <updated>2009-11-05T23:27:23Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/75cf7ea7a5a0ca9c?show_docid=75cf7ea7a5a0ca9c</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/75cf7ea7a5a0ca9c?show_docid=75cf7ea7a5a0ca9c"/>
  <title type="text">Re: Lambda captures in N2960</title>
  <summary type="html" xml:space="preserve">
  Thank you, that&#39;s very helpful. I am sure people appreciate that &lt;br&gt; feedback. &lt;br&gt; You can do capture-by-reference for objects stored on the free store. &lt;br&gt; You can also &lt;br&gt; capture-by-value smart pointers. There are ways to do closures that do &lt;br&gt; not become &lt;br&gt; &amp;quot;toast&amp;quot;. Capturing objects by value makes it easy to capture snapshots
  </summary>
  </entry>
  <entry>
  <author>
  <name>Faisal Vali</name>
  <email>fais...@gmail.com</email>
  </author>
  <updated>2009-11-05T22:28:23Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/b14c8fad6735a0d9/359fd3b320af945b?show_docid=359fd3b320af945b</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/b14c8fad6735a0d9/359fd3b320af945b?show_docid=359fd3b320af945b"/>
  <title type="text">Re: Brace initializers and template type deduction</title>
  <summary type="html" xml:space="preserve">
  Agreed. &lt;br&gt; &amp;lt;snip and rearrange&amp;gt; &lt;br&gt; Yes - but it is not clear to me what portion of the standard &lt;br&gt; prescribes gcc &lt;br&gt; 4.4&#39;s behavior here in allowing that template constructor to work. &lt;br&gt; I thought that the following code would not work with list- &lt;br&gt; initialization per &lt;br&gt; the standard (my variadic syntax might be a little off):
  </summary>
  </entry>
  <entry>
  <author>
  <name>Nikolay Ivchenkov</name>
  <email>ts...@mail.ru</email>
  </author>
  <updated>2009-11-05T22:28:46Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/3b73c79f508cb5d0/9278f6f7ef82780a?show_docid=9278f6f7ef82780a</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/3b73c79f508cb5d0/9278f6f7ef82780a?show_docid=9278f6f7ef82780a"/>
  <title type="text">Re: Virtual function call for an object under construction</title>
  <summary type="html" xml:space="preserve">
  I think, the presence of two interpretations of &amp;quot;most derived type&amp;quot; &lt;br&gt; and two interpretations of &amp;quot;most derived object&amp;quot; makes the rules &lt;br&gt; inconsistent. For example, &lt;br&gt; &amp;quot;the function called is the one defined in the constructor or &lt;br&gt; destructor&#39;s own class or in one of its bases, but not a function &lt;br&gt; overriding it in a class derived from the constructor or destructor&#39;s
  </summary>
  </entry>
  <entry>
  <author>
  <name>CornedBee</name>
  <email>wasti.r...@gmx.net</email>
  </author>
  <updated>2009-11-05T22:27:36Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/4d7efa0ff8451ddb?show_docid=4d7efa0ff8451ddb</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/4d7efa0ff8451ddb?show_docid=4d7efa0ff8451ddb"/>
  <title type="text">Re: Lambda captures in N2960</title>
  <summary type="html" xml:space="preserve">
  There is an important reason for this: the reference_closure type &lt;br&gt; basically requires lambdas that capture everything by reference to be &lt;br&gt; implemented as a pair of a function pointer and a scope pointer*. So &lt;br&gt; there is no data member corresponding to x above. There&#39;s a data &lt;br&gt; member pointing to the start of the stack frame of the invocation of
  </summary>
  </entry>
  <entry>
  <author>
  <name>Nikolay Ivchenkov</name>
  <email>ts...@mail.ru</email>
  </author>
  <updated>2009-11-05T22:27:18Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/3b73c79f508cb5d0/76d3e58ec0b5363e?show_docid=76d3e58ec0b5363e</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/3b73c79f508cb5d0/76d3e58ec0b5363e?show_docid=76d3e58ec0b5363e"/>
  <title type="text">Re: Virtual function call for an object under construction</title>
  <summary type="html" xml:space="preserve">
  Seems, I missed something important. Second try: &lt;br&gt; * When a virtual function specified by unqualified-id is called for an &lt;br&gt; object under construction _or destruction_ and the call occurs during &lt;br&gt; execution of: &lt;br&gt; -- body of the object&#39;s constructor &lt;br&gt; -- initialization of the object&#39;s non-static data member &lt;br&gt; -- body of the object&#39;s destructor
  </summary>
  </entry>
  <entry>
  <author>
  <name>Hyman Rosen</name>
  <email>hyro...@mail.com</email>
  </author>
  <updated>2009-11-05T22:28:04Z</updated>
  <id>http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/172e2e0d60ab868d?show_docid=172e2e0d60ab868d</id>
  <link href="http://groups.google.co.uk/group/comp.std.c++/browse_thread/thread/37c52fa6fd1ea3ac/172e2e0d60ab868d?show_docid=172e2e0d60ab868d"/>
  <title type="text">Re: Lambda captures in N2960</title>
  <summary type="html" xml:space="preserve">
  These C++ closures are a joke anyway; they are not first class. &lt;br&gt; That&#39;s false. They can be assigned, stored, composed, and called &lt;br&gt; repeatedly. &lt;br&gt; In Lisp speak, we would say they are ``downward funargs only&#39;&#39;. &lt;br&gt; That&#39;s fine, and is exactly what one expects of C++. &lt;br&gt; C++ isn&#39;t trying to be Lisp, and there is no chance
  </summary>
  </entry>
</feed>
