<?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.com/group/comp.lang.c++</id>
  <title type="text">comp.lang.c++ Google Group</title>
  <subtitle type="text">
  The object-oriented C++ language.
  </subtitle>
  <link href="/group/comp.lang.c++/feed/atom_v1_0_topics.xml" rel="self" title="comp.lang.c++ feed"/>
  <updated>-0-0T::Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>MelissA</name>
  <email>me...@a.com</email>
  </author>
  <updated>2012-06-04T12:20:01Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/ee398a9097eaadb7</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/ee398a9097eaadb7" />
  <title type="html">Re: Breakthrough</title>
  <summary type="html" xml:space="preserve">
  On Mon, 04 Jun 2012 13:38:47 +0200 &lt;br&gt; &lt;p&gt;Here are timings on mu computer. &lt;br&gt; &lt;p&gt;bmaxa@maxa:~/jacob/ccl$ time ./cppvec &lt;br&gt; Sum = 10738138201479754 &lt;br&gt; &lt;p&gt;real	0m0.899s &lt;br&gt; user	0m0.832s &lt;br&gt; sys	0m0.064s &lt;br&gt; bmaxa@maxa:~/jacob/ccl$ time ./cpplist &lt;br&gt; Sum = 10738138201479754 &lt;br&gt; &lt;p&gt;real	0m7.493s &lt;br&gt; user	0m7.344s &lt;br&gt; sys	0m0.136s &lt;br&gt; bmaxa@maxa:~/jacob/ccl$ time ./testlist
  </summary>
  </entry>
  <entry>
  <author>
  <name>DSF</name>
  <email>notava...@address.here</email>
  </author>
  <updated>2012-06-03T18:03:21Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/e7a0962c672e6d09</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/e7a0962c672e6d09" />
  <title type="html">Inheritance from template problem</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt; My inheritance problem is my uncle left me $10 million, but to get it &lt;br&gt; I have to spend the night in an isolated haunted house. My uncle &lt;br&gt; didn&#39;t like me. I think it&#39;s a plot to kill me! :o) &lt;br&gt; &lt;p&gt;Seriously, when I compile the following code, I get the error: &amp;quot;B::i &lt;br&gt; is not accessible&amp;quot; on the line &amp;quot;f = Tptr-&amp;gt;i&amp;quot;. It compiles fine if &amp;quot;i&amp;quot;
  </summary>
  </entry>
  <entry>
  <author>
  <name>sukhmeet</name>
  <email>sukh...@gmail.com</email>
  </author>
  <updated>2012-06-03T17:34:19Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/d0d90de8ffd7ec48</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/d0d90de8ffd7ec48" />
  <title type="html">reduce c++ vector size</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I wrote a program in which I define a vector of some class objects. &lt;br&gt; Initially the vector has size and capacity both set to 0. &lt;br&gt; The moment I add an element to the vector the size is 1 and the capacity &lt;br&gt; jumps to 32 elements. &lt;br&gt; This is causing a huge overhead on my program since I need to use many such
  </summary>
  </entry>
  <entry>
  <author>
  <name>Alain Ketterlin</name>
  <email>al...@dpt-info.u-strasbg.fr</email>
  </author>
  <updated>2012-06-03T14:27:54Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/e336018003be0a4a</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/e336018003be0a4a" />
  <title type="html">Re: Indirection operator and write access</title>
  <summary type="html" xml:space="preserve">
  What does &amp;quot;showing write access on x&amp;quot; mean? &lt;br&gt; &lt;p&gt;You can&#39;t overload *. I can&#39;t see how x could me modified here, but note &lt;br&gt; that anything can happen inside the version of operator&amp;lt;&amp;lt;(ostream&amp;amp;,...) &lt;br&gt; called at that point. Here is an example: &lt;br&gt; &lt;p&gt;class X { ... }; &lt;br&gt; class Y { &lt;br&gt; public: &lt;br&gt; Y(const X &amp;amp; x) { ... }
  </summary>
  </entry>
  <entry>
  <author>
  <name>Victor Bazarov</name>
  <email>v.baza...@comcast.invalid</email>
  </author>
  <updated>2012-06-03T13:31:34Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/8f1b7b228e1b8f77</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/8f1b7b228e1b8f77" />
  <title type="html">Re: Indirection operator and write access</title>
  <summary type="html" xml:space="preserve">
  You can&#39;t overload the operator* for pointers. That&#39;s a built-in one. &lt;br&gt; Once you dereference *x, you get a reference to the object. The pointer &lt;br&gt; variable does not have any play in dealing with that, so it seems that &lt;br&gt; the write access to &#39;x&#39; itself has nothing to do with &#39;*x&#39;. &lt;br&gt; &lt;p&gt;V &lt;br&gt; -- &lt;br&gt; I do not respond to top-posted replies, please don&#39;t ask
  </summary>
  </entry>
  <entry>
  <author>
  <name>Shiva</name>
  <email>jsh...@bigfoot.com</email>
  </author>
  <updated>2012-06-03T04:30:11Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/6f1d0d50c0b18ad2</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/6f1d0d50c0b18ad2" />
  <title type="html">===Welcome to comp.lang.c++! Read this first.</title>
  <summary type="html" xml:space="preserve">
  Welcome to comp.lang.c++! Read this first. &lt;br&gt; &lt;p&gt;This post is intended to give the new reader an introduction to reading &lt;br&gt; and posting in this newsgroup. We respectfully request that you read &lt;br&gt; all the way through this post, as it helps make for a more pleasant &lt;br&gt; and useful group for everyone. &lt;br&gt; &lt;p&gt;First of all, please keep in mind that comp.lang.c++ is a group for discussion
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mike Copeland</name>
  <email>mrc2...@cox.net</email>
  </author>
  <updated>2012-06-02T20:44:53Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/633cb0fe2041906f</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/633cb0fe2041906f" />
  <title type="html">Access Violation Problem</title>
  <summary type="html" xml:space="preserve">
  I have the following code that compiles but produces a &amp;quot;Access &lt;br&gt; violation reading location...&amp;quot; runtime error when executed. I tried &lt;br&gt; casting the first statement to (char*), but that produced the same &lt;br&gt; fault. &lt;br&gt; I suppose the problem lies with the use of the &amp;quot;const char&amp;quot; in the &lt;br&gt; parameter declaration, but I&#39;ve been trying to follow the examples I see
  </summary>
  </entry>
  <entry>
  <author>
  <name>BV BV</name>
  <email>bv8bv8...@gmail.com</email>
  </author>
  <updated>2012-06-02T12:41:51Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/8bdad8371675f463</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/8bdad8371675f463" />
  <title type="html">WHAT DO MUSLIMS THINK ABOUT JESUS ?????????</title>
  <summary type="html" xml:space="preserve">
  WHAT DO MUSLIMS THINK ABOUT JESUS? &lt;br&gt; I know that my article is not related to this group ,but it might be &lt;br&gt; useful. &lt;br&gt; PLEASE read it &lt;br&gt; What do Muslims think about Jesus? &lt;br&gt; Muslims respect and revere Jesus (SAW) and await his Second Coming. &lt;br&gt; They consider him one of the greatest of God’s messengers to mankind.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Fuzzy Coder</name>
  <email>a...@a.net</email>
  </author>
  <updated>2012-05-31T19:44:47Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/b1ecd9295fd9c112</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/b1ecd9295fd9c112" />
  <title type="html">Boost function/bind problem</title>
  <summary type="html" xml:space="preserve">
  Hello there. &lt;br&gt; I am trying to use the Boost function type in conjunction with bind, in &lt;br&gt; order to &lt;br&gt; homogenise some code. &lt;br&gt; &lt;p&gt;class C1 &lt;br&gt; { &lt;br&gt; public: &lt;br&gt; &lt;p&gt;void &lt;br&gt; someOp(int i, float f) { /* ... */ } ; &lt;br&gt; &lt;p&gt;class C2 &lt;br&gt; { &lt;br&gt; public: &lt;br&gt; &lt;p&gt;void &lt;br&gt; otherOp(int i, float f) { /* ... */ } ; &lt;br&gt; &lt;p&gt;main() &lt;br&gt; { &lt;br&gt; typedef boost::function&amp;lt;void (int, float) &amp;gt; F ;
  </summary>
  </entry>
  <entry>
  <author>
  <name>sdiwc conferences</name>
  <email>sdiwcconferen...@gmail.com</email>
  </author>
  <updated>2012-05-31T08:39:21Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/d9c5deb75f7a20b3</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/d9c5deb75f7a20b3" />
  <title type="html">CFP - DEIS2012 - Czech Republic - SDIWC</title>
  <summary type="html" xml:space="preserve">
  Dear Colleagues, &lt;br&gt; &lt;p&gt;We are inviting you to join and participate in the upcoming conference &lt;br&gt; that will be held in Czech Republic. This will able to build &lt;br&gt; connections among researchers in the field of digital applications. &lt;br&gt; Please spend some time to overview the research topics. &lt;br&gt; &lt;p&gt;Below are the conference information. If you have any questions, you
  </summary>
  </entry>
  <entry>
  <author>
  <name>fish</name>
  <email>wenkai1...@gmail.com</email>
  </author>
  <updated>2012-05-31T07:26:54Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/88072a4df997ae44</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/88072a4df997ae44" />
  <title type="html">How can I release the free memory held by boost::unordered_map?</title>
  <summary type="html" xml:space="preserve">
  I just add a large of elements and then delete them all in a &lt;br&gt; boost::unordered_map, then I saw the memory held by this program is &lt;br&gt; 198M(greater than (64+4)*2M) and the unordered_map size is 0. &lt;br&gt; &lt;p&gt;I test vector, no such problem. Why? &lt;br&gt; &lt;p&gt;============================== ============= &lt;br&gt; &lt;p&gt;template &amp;lt;int N&amp;gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Juha Nieminen</name>
  <email>nos...@thanks.invalid</email>
  </author>
  <updated>2012-05-31T06:54:29Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/5bd67dfe1c1cc932</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/5bd67dfe1c1cc932" />
  <title type="html">The design of LLVM</title>
  <summary type="html" xml:space="preserve">
  Please don&#39;t shoot me for posting something that&#39;s not 100% on-topic, but &lt;br&gt; I found this article on the design of LLVM to be interesting: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.drdobbs.com/architecture-and-design/240001128&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kextitepjes</name>
  <email>kextitepjes.5df...@no-mx.forums.yourdomain.com.au</email>
  </author>
  <updated>2012-05-31T06:36:27Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/f9a00a9a38f1bb00</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/f9a00a9a38f1bb00" />
  <title type="html">Re: Getting the smallest signed type that can represent all thevalues of a given unsigned type</title>
  <summary type="html" xml:space="preserve">
  кораблестроение ; отвечаю что яОлег Михайлович Миронов Москвич 1959гр &lt;br&gt; пожизни обычный ЧМ0шник, ебанутый на голову и шизик !!!образование март &lt;br&gt; 2009 Прохор 2011, кротов николай николаевич кретов евгений владимирович
  </summary>
  </entry>
  <entry>
  <author>
  <name>Michael Le Barbier Grünewald</name>
  <email>michip...@googlemail.com</email>
  </author>
  <updated>2012-05-31T06:23:11Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/2e50a9a9c45b89d2</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/2e50a9a9c45b89d2" />
  <title type="html">Memoisation</title>
  <summary type="html" xml:space="preserve">
  Dear Group, &lt;br&gt; &lt;p&gt;I am trying to implement memoisation in C++ for abstract classes such that: &lt;br&gt; &lt;p&gt;I have an abstract class A with a public `int eval()&#39; method delegating its work to the private purely virtual, customisable, `int reallyEval()&#39; method. &lt;br&gt; &lt;p&gt;Now, let&#39;s say that I have a few concrete classes B1, .., Bn derived from A.
  </summary>
  </entry>
  <entry>
  <author>
  <email>krastavicakrastav...@abv.bg</email>
  </author>
  <updated>2012-05-30T09:52:11Z</updated>
  <id>http://groups.google.com/group/comp.lang.c++/browse_thread/thread/32785b62c08e4603</id>
  <link href="http://groups.google.com/group/comp.lang.c++/browse_thread/thread/32785b62c08e4603" />
  <title type="html">feedback on code design</title>
  <summary type="html" xml:space="preserve">
  First time posting here, sorry if i failed :( &lt;br&gt; So i wanted to write a Hangman game and i started it, as im newbie &lt;br&gt; programmer it took me several days to track all the bugs etc. &lt;br&gt; Meanwhile i want to get good habits on designing and i read that &lt;br&gt; Getters and Setters arent the best way to go for a class design. I
  </summary>
  </entry>
</feed>

