Description:
Technical discussion of the C++ language. (Moderated)
|
|
|
TkGen - A Lexical Analyzer Generator (online)
|
| |
Hi folks, I have implemented an online tokenizer generator for C++ and I would like to share with those interested. The web site is: [link] It is an initial project and it isn’t the most complete tokenizer generator of the world, but I hope you find it useful. Comments, critics, questions and suggestions are very welcome.... more »
|
|
for memory leaks
|
| |
Dear all, In MSVC, there is some function called _CrtDumpMemoryLeaks which helps us to find the memory leak point in the source code. But may I ask if I were programming on Linux platform or Mac OS X, is there any similar way to detect the memory leak in the C++ source code? Is there any such like functions in the standard library?... more »
|
|
using declaration hides local declaration?
|
| |
Hi, I was surprised to find that g++ (as of 4.3 and 4.4) rejects this code: void f() {} namespace A { void f(int); using ::f; /// <<<< seems to hide above declaration ...// The following line generates this message [g++] // /tmp/asdf.cpp:8: error: 'void A::f(int)' should have been declared inside 'A'... more »
|
|
about inline function
|
| |
Dear all, May I ask how to see whether the compiler has really inlined my functions? We usually use "inline" keyword to define a inline function or just define it in a class declaration. But whether it is inlined is depended by the compiler. There should be some criterions which are various from different compilers.... more »
|
|
Annoncing Gamdel, The Game Description Language
|
| |
Hello all. We want to present you our project Gamdel, a game description language to make games in curses, 2d sdl and 3d opengl in the same executable. Take a look at gamdel.sourceforge.net and give us a comment. Thanks.
|
|
U++ 1713 released
|
| |
Website: [link] Download: [link] U++ is BSD licensed C++ cross-platform rapid application development suite focused on programmers productivity without sacrificing runtime performance. What is new in version 1713: theide: * .t files are now saved with strings converted by escaping >127... more »
|
|
conventions for #include delimiter (quotes versus angle brackets)
|
| |
There doesn't seem much to choose between: ...and ...My preference is for the latter. I only use angle brackets for headers that are standard for C++. But that's just my preference, I usually don't argue the point. What are the pros and cons please? Regards, Andrew Marlow
|
|
BoostCon 2010: 2nd Call for Participation
|
| |
Please distribute! ------------------------------ -- 4th Annual Boost Conference 2010 ------------------------------ -- Aspen CO, USA, May 4-10, 2010, [link] 2nd Call for participation ---------------------- We invite you to submit session proposals to the 4th Annual Boost Conference: BoostCon 2010 (Aspen CO, USA, May 10-14, 2010).... more »
|
|
Default constructor and defaulted/deleted special members
|
| |
This definition of copy constructor prevents from generation of the default constructor: struct X1 { X1(X1 const&) {} ...Would the below definitions also prevent from generation of the default constructor? struct X2 { X2(X2 const&) = delete; ...struct X3 { X3(X3 const&) = default;
|
|
|