<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.lang.c++ Google Group</title>
  <link>http://groups.google.ie/group/comp.lang.c++</link>
  <description>The object-oriented C++ language.</description>
  <language>en</language>
  <item>
  <title>Re: Resorting a map (copying a map to another with different Compare)</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/756c713ed728c060/da8f3658ca81b22f?show_docid=da8f3658ca81b22f</link>
  <description>
  nw wrote: &lt;br&gt; The issue is that you &amp;quot;depth&amp;quot; is not a template (compile-time) but a &lt;br&gt; function (run-time) parameter. Thus, the recursive instantiation of a &lt;br&gt; template function does not have a stop condition.. The below seems to &lt;br&gt; work (hopefully this is what you meant to do): &lt;br&gt; -----------cut here--------- &lt;br&gt; using namespace std;
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/756c713ed728c060/da8f3658ca81b22f?show_docid=da8f3658ca81b22f</guid>
  <author>
  pauldontspamt...@removeyourself.dontspam.yahoo
  (Pavel)
  </author>
  <pubDate>Fri, 12 Mar 2010 05:03:28 UT
</pubDate>
  </item>
  <item>
  <title>Re: Selection of overloaded function</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/4e95c9bd819de166/7f1d530457ea8e02?show_docid=7f1d530457ea8e02</link>
  <description>
  [Broken code snipped] &lt;br&gt; Your code is pretty broken unless I&#39;m missing something basic. However &lt;br&gt; it may help you to understand name hiding. &lt;br&gt; class A { }; &lt;br&gt; class B { }; &lt;br&gt; struct Base { &lt;br&gt; void foo(A&amp;amp;); &lt;br&gt; struct Derived : Base { &lt;br&gt; void foo(B&amp;amp;); &lt;br&gt; int main() { &lt;br&gt; A a; &lt;br&gt; Derived d; &lt;br&gt; d.foo(a); // will not compile, see below
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/4e95c9bd819de166/7f1d530457ea8e02?show_docid=7f1d530457ea8e02</guid>
  <author>
  danie...@earthlink.net
  (Daniel T.)
  </author>
  <pubDate>Fri, 12 Mar 2010 04:17:20 UT
</pubDate>
  </item>
  <item>
  <title>Re: why is binding non-const ref to return value bad?</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/1b4aaf1cf42198dc/895f5c3e28cce7d2?show_docid=895f5c3e28cce7d2</link>
  <description>
  Use r-value references instead
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/1b4aaf1cf42198dc/895f5c3e28cce7d2?show_docid=895f5c3e28cce7d2</guid>
  <author>
  mikl...@gmail.com
  (Michael Tsang)
  </author>
  <pubDate>Fri, 12 Mar 2010 04:11:59 UT
</pubDate>
  </item>
  <item>
  <title>Re: Run Gnu compiler under VMWare?</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/c0f43becc0cd3049/9ba7f7171a00af8b?show_docid=9ba7f7171a00af8b</link>
  <description>
  Run these app in Wine on Linux
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/c0f43becc0cd3049/9ba7f7171a00af8b?show_docid=9ba7f7171a00af8b</guid>
  <author>
  mikl...@gmail.com
  (Michael Tsang)
  </author>
  <pubDate>Fri, 12 Mar 2010 04:11:01 UT
</pubDate>
  </item>
  <item>
  <title>Re: Selection of overloaded function</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/4e95c9bd819de166/6037ccdd427fecc8?show_docid=6037ccdd427fecc8</link>
  <description>
  Fred wrote: &lt;br&gt; This is a syntax error. What do you mean?
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/4e95c9bd819de166/6037ccdd427fecc8?show_docid=6037ccdd427fecc8</guid>
  <author>
  mikl...@gmail.com
  (Michael Tsang)
  </author>
  <pubDate>Fri, 12 Mar 2010 04:06:55 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stanard compliant bit-casting</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/53c660431fe5baca?show_docid=53c660431fe5baca</link>
  <description>
  Also, I started re-reading &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://cellperformance.beyond3d.com/articles/2006/06/understanding-strict-aliasing.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; just now. It appears as though it&#39;s not perfectly accurate either. It &lt;br&gt; ignores the allowance that you can cast between POD types with common &lt;br&gt; leading parts and access the common leading parts as expected. The
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/53c660431fe5baca?show_docid=53c660431fe5baca</guid>
  <author>
  joshuamaur...@gmail.com
  (Joshua Maurice)
  </author>
  <pubDate>Fri, 12 Mar 2010 01:26:08 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stanard compliant bit-casting</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/8f4952186e8647f3?show_docid=8f4952186e8647f3</link>
  <description>
  See my previous post else-thread for my understanding. &lt;br&gt; //Start code for foo.cpp &lt;br&gt; using namespace std; &lt;br&gt; int main() &lt;br&gt; { &lt;br&gt; cout &amp;lt;&amp;lt; sizeof(int) &amp;lt;&amp;lt; &amp;quot; &amp;quot; &amp;lt;&amp;lt; sizeof(short) &amp;lt;&amp;lt; endl; &lt;br&gt; { &lt;br&gt; int x = 1; &lt;br&gt; short* s = reinterpret_cast&amp;lt;short*&amp;gt;(&amp;amp;x); &lt;br&gt; s[0] = 2; &lt;br&gt; s[1] = 3; &lt;br&gt; cout &amp;lt;&amp;lt; x &amp;lt;&amp;lt; endl; &lt;br&gt; } &lt;br&gt; { &lt;br&gt; int x = 1;
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/8f4952186e8647f3?show_docid=8f4952186e8647f3</guid>
  <author>
  joshuamaur...@gmail.com
  (Joshua Maurice)
  </author>
  <pubDate>Fri, 12 Mar 2010 01:09:05 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stanard compliant bit-casting</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/5d1a0701bb8f7a7c?show_docid=5d1a0701bb8f7a7c</link>
  <description>
  Why was it added to the language, then? &lt;br&gt; [...] &lt;br&gt; The only compiler I&#39;ve seen that documents it as being supported &lt;br&gt; is g++ (but I&#39;ve not really looked at all of the documentation). &lt;br&gt; And even with g++, it depends on the context---there are cases &lt;br&gt; where it will fail. &lt;br&gt; From a QoI point of view: if the union or the reinterpret_cast
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/5d1a0701bb8f7a7c?show_docid=5d1a0701bb8f7a7c</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Fri, 12 Mar 2010 00:29:57 UT
</pubDate>
  </item>
  <item>
  <title>Re: Has thought been given given to a cleaned up C? Possibly called C+.</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/91ad692e40ecf2ab/442d494eb0a77701?show_docid=442d494eb0a77701</link>
  <description>
  puke
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/91ad692e40ecf2ab/442d494eb0a77701?show_docid=442d494eb0a77701</guid>
  <author>
  thefatphil_demun...@yahoo.co.uk
  (Phil Carmody)
  </author>
  <pubDate>Fri, 12 Mar 2010 00:27:27 UT
</pubDate>
  </item>
  <item>
  <title>Re: Stanard compliant bit-casting</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/a549ef567d2ffa84?show_docid=a549ef567d2ffa84</link>
  <description>
  On Mar 11, 12:23 am, &amp;quot;Robbie Hatley&amp;quot; &lt;br&gt; Actually, it&#39;s called type punning. In C++ (and in C), a &amp;quot;cast&amp;quot; &lt;br&gt; is an explicit type conversion. Any explicit type conversion: &lt;br&gt; int to double, for example, or even just removing const. &lt;br&gt; But you&#39;re right that type punning should be avoided in general. &lt;br&gt; It has its place in some very low level software, but unless
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/fbf9d2d09eb8f7a6/a549ef567d2ffa84?show_docid=a549ef567d2ffa84</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Fri, 12 Mar 2010 00:21:34 UT
</pubDate>
  </item>
  <item>
  <title>Re: why is binding non-const ref to return value bad?</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/1b4aaf1cf42198dc/63ebac1c3f504a9a?show_docid=63ebac1c3f504a9a</link>
  <description>
  There should be no requirement that all of the reviewers be &lt;br&gt; exceptionally gifted in C++. On the other hand, I don&#39;t think &lt;br&gt; reviewers should encourage less readable and more dangerous &lt;br&gt; coding styles. Unless there&#39;s a good reason for using a &lt;br&gt; reference, stick with the value. &lt;br&gt; The compiler always has leeway to throw in an extra copy. In
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/1b4aaf1cf42198dc/63ebac1c3f504a9a?show_docid=63ebac1c3f504a9a</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Fri, 12 Mar 2010 00:05:28 UT
</pubDate>
  </item>
  <item>
  <title>Re: why is binding non-const ref to return value bad?</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/1b4aaf1cf42198dc/2013923b652c9c33?show_docid=2013923b652c9c33</link>
  <description>
  I&#39;d disagree with that recommendation. There will normally be &lt;br&gt; the same number of copies, and the latter is just more verbose &lt;br&gt; and slightly less clear. It&#39;s also dangerous if at some later &lt;br&gt; date, AFunction is modified to return a const reference. &lt;br&gt; The simple answer is: because the standard says so. &lt;br&gt; Nothing to do with lifetimes. You can&#39;t use a temporary to
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/1b4aaf1cf42198dc/2013923b652c9c33?show_docid=2013923b652c9c33</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Thu, 11 Mar 2010 23:55:40 UT
</pubDate>
  </item>
  <item>
  <title>Re: functions and overloading</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/979e9c4344c40e14/9024cfe25cc8ba8e?show_docid=9024cfe25cc8ba8e</link>
  <description>
  Yes:-). &lt;br&gt; Seriously, it depends on the definitions you use, but I&#39;d say &lt;br&gt; that there are functions in the generated binary, and that it is &lt;br&gt; the function definition in the source code which causes them to &lt;br&gt; exist. So if the functions have different definitions, they are &lt;br&gt; two separate functions &lt;br&gt; But that&#39;s just the way I use the words
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/979e9c4344c40e14/9024cfe25cc8ba8e?show_docid=9024cfe25cc8ba8e</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Thu, 11 Mar 2010 23:48:51 UT
</pubDate>
  </item>
  <item>
  <title>Re: Bounds Checking in debug mode</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/0cc32d032143a90f/d69fb5eb48f4cab2?show_docid=d69fb5eb48f4cab2</link>
  <description>
  If you happen to be developing on obsolete platforms!
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/0cc32d032143a90f/d69fb5eb48f4cab2?show_docid=d69fb5eb48f4cab2</guid>
  <author>
  ian-n...@hotmail.com
  (Ian Collins)
  </author>
  <pubDate>Thu, 11 Mar 2010 23:42:22 UT
</pubDate>
  </item>
  <item>
  <title>Re: initialization order of function local static variables</title>
  <link>http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/4a1b7177d6465d5b/c979ea0584eeb3b0?show_docid=c979ea0584eeb3b0</link>
  <description>
  [...] &lt;br&gt; I&#39;m pretty sure that that&#39;s the intent, but it really could be &lt;br&gt; worded more clearly. &lt;br&gt; [...] &lt;br&gt; Historically, a lot of compilers got this wrong. (I even used &lt;br&gt; one which called the destructor of local statics whose &lt;br&gt; constructor had never been called, because program flow never &lt;br&gt; passed there.) Today... I&#39;d like to say that I&#39;d be a bit
  </description>
  <guid isPermaLink="true">http://groups.google.ie/group/comp.lang.c++/browse_thread/thread/4a1b7177d6465d5b/c979ea0584eeb3b0?show_docid=c979ea0584eeb3b0</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Thu, 11 Mar 2010 23:41:11 UT
</pubDate>
  </item>
  </channel>
</rss>
