<?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.lang.c++.moderated</id>
  <title type="text">comp.lang.c++.moderated Google Group</title>
  <subtitle type="text">
  Technical discussion of the C++ language. (Moderated)
  </subtitle>
  <link href="/group/comp.lang.c++.moderated/feed/atom_v1_0_msgs.xml" rel="self" title="comp.lang.c++.moderated feed"/>
  <updated>2009-11-27T13:37:16Z</updated>
  <generator uri="http://groups.google.co.uk" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Thiago A.</name>
  <email>thiago.ad...@gmail.com</email>
  </author>
  <updated>2009-11-27T13:36:21Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/4e829f57385fbe7c/c43892e42c22151c?show_docid=c43892e42c22151c</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/4e829f57385fbe7c/c43892e42c22151c?show_docid=c43892e42c22151c"/>
  <title type="text">TkGen - A Lexical Analyzer Generator (online)</title>
  <summary type="html" xml:space="preserve">
  Hi folks, &lt;br&gt; I have implemented an online tokenizer generator for C++ and I would &lt;br&gt; like to share with those interested. &lt;br&gt; The web site is: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.thradams.com/codeblog/tkgen.htm&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; It is an initial project and it isn’t the most complete tokenizer &lt;br&gt; generator of the world, but I hope you find it useful. &lt;br&gt; Comments, critics, questions and suggestions are very welcome.
  </summary>
  </entry>
  <entry>
  <author>
  <name>肥猫</name>
  <email>llz916...@yahoo.com.cn</email>
  </author>
  <updated>2009-11-27T13:34:36Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/f13e03092f9256bb/1a7a7f6398442545?show_docid=1a7a7f6398442545</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/f13e03092f9256bb/1a7a7f6398442545?show_docid=1a7a7f6398442545"/>
  <title type="text">Shall we always includes definition into head file when define template class?</title>
  <summary type="html" xml:space="preserve">
  { The basics are covered in FAQ item 35.12 &amp;quot;Why can&#39;t I separate the definition &lt;br&gt; of my templates class from it&#39;s declaration and put it inside a .cpp file?&amp;quot; &lt;br&gt; &amp;lt;url: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.parashift.com/c++-faq-lite/templates.html#faq-35.12&quot;&gt;[link]&lt;/a&gt;&amp;gt;. -mod } &lt;br&gt; When I define a template class,I found that i can&#39;t separate the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Balog Pal</name>
  <email>p...@lib.hu</email>
  </author>
  <updated>2009-11-27T13:34:57Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/7f1e1f8cd6d9d775/85b38a32caddb41c?show_docid=85b38a32caddb41c</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/7f1e1f8cd6d9d775/85b38a32caddb41c?show_docid=85b38a32caddb41c"/>
  <title type="text">Re: using declaration hides local declaration?</title>
  <summary type="html" xml:space="preserve">
  &amp;quot;Chris Uzdavinis&amp;quot; &amp;lt;cuz...@gmail.com&amp;gt; &lt;br&gt; As I read the standard [7.3.4], Cameau is right. &lt;br&gt; using declaration most of the time works exactly like a normal declaration, &lt;br&gt; with the similar effect. The one exception I found is with member functions &lt;br&gt; where collision is processed as &#39;hide&#39; instead of &#39;conflict&#39;. What makes
  </summary>
  </entry>
  <entry>
  <author>
  <name>Francis Glassborow</name>
  <email>francis.glassbo...@btinternet.com</email>
  </author>
  <updated>2009-11-27T13:37:16Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/d5651eea64a4464e?show_docid=d5651eea64a4464e</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/d5651eea64a4464e?show_docid=d5651eea64a4464e"/>
  <title type="text">Re: about inline function</title>
  <summary type="html" xml:space="preserve">
  Including times when the programmer has not asked for it. Modern &lt;br&gt; compilers are becoming increasingly sophisticated at doing this using &lt;br&gt; whole program analysis. &lt;br&gt; The common cases for inlining are where a function is small and has been &lt;br&gt; declared as static. The compiler knows that such a function cannot be
  </summary>
  </entry>
  <entry>
  <author>
  <name>blackbiscuit</name>
  <email>infozyzh...@gmail.com</email>
  </author>
  <updated>2009-11-27T13:36:34Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/3eba1dad1c4afb87/68e128f53d63e873?show_docid=68e128f53d63e873</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/3eba1dad1c4afb87/68e128f53d63e873?show_docid=68e128f53d63e873"/>
  <title type="text">for memory leaks</title>
  <summary type="html" xml:space="preserve">
  Dear all, &lt;br&gt; In MSVC, there is some function called _CrtDumpMemoryLeaks which helps &lt;br&gt; us to find the memory leak point in the source code. But may I ask if &lt;br&gt; I were programming on Linux platform or Mac OS X, is there any similar &lt;br&gt; way to detect the memory leak in the C++ source code? Is there any &lt;br&gt; such like functions in the standard library?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Martin B.</name>
  <email>0xcdcdc...@gmx.at</email>
  </author>
  <updated>2009-11-27T13:28:29Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/5fc2708572c9d8c1/ef93970ac12d8e97?show_docid=ef93970ac12d8e97</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/5fc2708572c9d8c1/ef93970ac12d8e97?show_docid=ef93970ac12d8e97"/>
  <title type="text">Re: Seeking recommendation on free or cheap C++ compiler</title>
  <summary type="html" xml:space="preserve">
  We might note that IDE is a common abbreviation of Integrated &lt;br&gt; Development Environment. In theory this only implies that all the &lt;br&gt; components needed to develop software in C++ are well and truly &lt;br&gt; integrated. (Editor Compiler Linker Debugger ...) &lt;br&gt; Integration - for example - means that I change a source line and then
  </summary>
  </entry>
  <entry>
  <author>
  <name>Louis Lavery</name>
  <email>lo...@laverremove.demon.co.uk</email>
  </author>
  <updated>2009-11-27T13:27:26Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/461835b3ec6d0e08/3937f4bf9bee50d2?show_docid=3937f4bf9bee50d2</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/461835b3ec6d0e08/3937f4bf9bee50d2?show_docid=3937f4bf9bee50d2"/>
  <title type="text">Re: conventions for #include delimiter (quotes versus angle brackets)</title>
  <summary type="html" xml:space="preserve">
  I use &lt;br&gt; and use an environment variable to point the compiler at &lt;br&gt; directory myLibVersionNumber that contains direcory myLib. &lt;br&gt; This seems to force the compiler (vc8) to look only in that &lt;br&gt; directory (do other compilers do the same?). &lt;br&gt; The reason for doing that is that using just this &lt;br&gt; vc8 goes on a grand tour, should it not find myheader.h
  </summary>
  </entry>
  <entry>
  <author>
  <name>George Neuner</name>
  <email>gneun...@comcast.net</email>
  </author>
  <updated>2009-11-27T13:29:25Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/e286bba27402a9e1/1301512426d5d412?show_docid=1301512426d5d412</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/e286bba27402a9e1/1301512426d5d412?show_docid=1301512426d5d412"/>
  <title type="text">Re: inlining of functions returning an unwindable object</title>
  <summary type="html" xml:space="preserve">
  On Wed, 25 Nov 2009 08:19:39 CST, &amp;quot;Martin B.&amp;quot; &amp;lt;0xCDCDC...@gmx.at&amp;gt; &lt;br&gt; wrote: &lt;br&gt; My bad. I blanked on buffer check because I&#39;ve been doing a lot of &lt;br&gt; managed code recently and got used to seeing checks in disassemblies. &lt;br&gt; Miscommunication I think. I generally associate &amp;quot;unwind(able)&amp;quot; with &lt;br&gt; use of exceptions, not just having a dtor. Since string and stream (as
  </summary>
  </entry>
  <entry>
  <author>
  <name>CornedBee</name>
  <email>wasti.r...@gmx.net</email>
  </author>
  <updated>2009-11-26T16:31:37Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/c6010b85c1839ecc?show_docid=c6010b85c1839ecc</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/c6010b85c1839ecc?show_docid=c6010b85c1839ecc"/>
  <title type="text">Re: about inline function</title>
  <summary type="html" xml:space="preserve">
  You can read your compiler&#39;s documentation to see if it has an option &lt;br&gt; that enables such informational output. For example, GCC has the &lt;br&gt; option -Winline that causes it to emit a warning whenever it decides &lt;br&gt; not to inline a function that is actually declared inline. &lt;br&gt; Last resort, you can set your compiler to emit assembly and inspect
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jeff Schwab</name>
  <email>j...@schwabcenter.com</email>
  </author>
  <updated>2009-11-26T16:31:23Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/5fc2708572c9d8c1/e7380a349b1801ca?show_docid=e7380a349b1801ca</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/5fc2708572c9d8c1/e7380a349b1801ca?show_docid=e7380a349b1801ca"/>
  <title type="text">Re: Seeking recommendation on free or cheap C++ compiler</title>
  <summary type="html" xml:space="preserve">
  { This has moved off-topic for clc++m. Accepted as follow-up. -mod } &lt;br&gt; That&#39;s patently untrue. I really don&#39;t think you realize just how &lt;br&gt; flexible the command-line is, no matter how long or intensively you &lt;br&gt; claim to have used it. For example, when I&#39;ve performed a sequence of &lt;br&gt; actions in an IDE, there is no backscroll buffer for me to copy and
  </summary>
  </entry>
  <entry>
  <author>
  <name>restor</name>
  <email>akrze...@gmail.com</email>
  </author>
  <updated>2009-11-26T16:31:55Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/76c48c5b467d3906?show_docid=76c48c5b467d3906</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/76c48c5b467d3906?show_docid=76c48c5b467d3906"/>
  <title type="text">Re: about inline function</title>
  <summary type="html" xml:space="preserve">
  Once your program is compiled, you open the binary executable/library &lt;br&gt; and inspect the assembler instructions. How you do it is highly &lt;br&gt; dependent on your platform. &lt;br&gt; Regards, &lt;br&gt; &amp;amp;rzej
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kenshin</name>
  <email>kenshin.himura.sakab...@gmail.com</email>
  </author>
  <updated>2009-11-26T16:29:07Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/7186b2238bd4b455/f63b499f841cc5b6?show_docid=f63b499f841cc5b6</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/7186b2238bd4b455/f63b499f841cc5b6?show_docid=f63b499f841cc5b6"/>
  <title type="text">Re: Suffix Return Type Syntax</title>
  <summary type="html" xml:space="preserve">
  { edits: quoted sig and banner removed. don&#39;t quote sigs or the banner. -mod } &lt;br&gt; Yes, it should be optional, like the lambda syntax. &lt;br&gt; According to Mr. Stroustrup, the &amp;quot;-&amp;gt;decltype(...)&amp;quot; section is &lt;br&gt; redundant, casue the compiler already knows the return type. The &lt;br&gt; commitee is still coming to a conclusion on this, but so far, the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Goran</name>
  <email>goran.pu...@gmail.com</email>
  </author>
  <updated>2009-11-26T16:29:28Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/5bda0da2cc6e4ea2?show_docid=5bda0da2cc6e4ea2</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/9b879c67c52c1de3/5bda0da2cc6e4ea2?show_docid=5bda0da2cc6e4ea2"/>
  <title type="text">Re: about inline function</title>
  <summary type="html" xml:space="preserve">
  The best shot by far: look at the disassembly. ;-) &lt;br&gt; In general, compiler has a final say at &amp;quot;inline&amp;quot;. Inline is a mere &lt;br&gt; hint you can give to it because you think a particular function should &lt;br&gt; be inlined. But in my experience, compiler knows better in some cases, &lt;br&gt; and in others, it doesn&#39;t know how to inline (see a recent post on
  </summary>
  </entry>
  <entry>
  <author>
  <name>Kenshin</name>
  <email>kenshin.himura.sakab...@gmail.com</email>
  </author>
  <updated>2009-11-26T16:25:55Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/aa9cde9c3c788edf/572bacd85ab39a17?show_docid=572bacd85ab39a17</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/aa9cde9c3c788edf/572bacd85ab39a17?show_docid=572bacd85ab39a17"/>
  <title type="text">Re: Perfect forwarding in C++03</title>
  <summary type="html" xml:space="preserve">
  { edits: quoted sig and banner removed. don&#39;t quote sigs or the banner. -mod } &lt;br&gt; Yes, teh belwo does run: &lt;br&gt; void func(int&amp;amp; i){ &lt;br&gt; ++i; &lt;br&gt; template &amp;lt;class Prmr1&amp;gt; &lt;br&gt; void forward(const Prmr1&amp;amp; p1) &lt;br&gt; { &lt;br&gt; func(p1); &lt;br&gt; int main(int argc, char** argv){ &lt;br&gt; int x = 444; &lt;br&gt; std::cout &amp;lt;&amp;lt; x &amp;lt;&amp;lt; std::endl; &lt;br&gt; forward(boost::ref(x)); &lt;br&gt; std::cout &amp;lt;&amp;lt; x &amp;lt;&amp;lt; std::endl;
  </summary>
  </entry>
  <entry>
  <author>
  <name>cornelis van der bent</name>
  <email>kees.van.der.b...@gmail.com</email>
  </author>
  <updated>2009-11-26T16:29:08Z</updated>
  <id>http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/252889ebddaf8d7e/da81c1183cb0c934?show_docid=da81c1183cb0c934</id>
  <link href="http://groups.google.co.uk/group/comp.lang.c++.moderated/browse_thread/thread/252889ebddaf8d7e/da81c1183cb0c934?show_docid=da81c1183cb0c934"/>
  <title type="text">Re: Deleting from vector while iterating allowed?</title>
  <summary type="html" xml:space="preserve">
  Thanks for the solution! I like this better than having yet another &lt;br&gt; condition-function laying around.
  </summary>
  </entry>
</feed>
