c++ Programming Glossary: hmm
What is a smart pointer and when should I use one? http://stackoverflow.com/questions/106508/what-is-a-smart-pointer-and-when-should-i-use-one on the heap MyObjectPtr pp new MyObjectPtr new MyObject Hmm we forgot to destroy the smart pointer because of that the object..
Passing shared pointers as arguments http://stackoverflow.com/questions/10826541/passing-shared-pointers-as-arguments copy pass by reference if I want to avoid a copy. Right. Hmm. I think you forgot yet another scenario. What if I want to..
Branchless code that maps zero, negative, and positive to 0, 1, 2 http://stackoverflow.com/questions/1610836/branchless-code-that-maps-zero-negative-and-positive-to-0-1-2 with depending on which is faster... Bit twiddling is fun Hmm I just learned about setnz . I haven't checked the assembler..
Help a C++ newbie understand his mistakes: header files and cpp files http://stackoverflow.com/questions/1686204/help-a-c-newbie-understand-his-mistakes-header-files-and-cpp-files to bring in only the information necessary to compile Hmm. You might be on to something there. Let me know how that works..
GTK implementation of MessageBox http://stackoverflow.com/questions/263/gtk-implementation-of-messagebox ideas c c linux gtk x11 share improve this question Hmm ok. I'd suggest code like this then typedef struct int type..
How to pass an array size as a template with template type? http://stackoverflow.com/questions/472530/how-to-pass-an-array-size-as-a-template-with-template-type templates type inference share improve this question Hmm the Standard says in 14.8.2.4 15 If in the declaration of a..
C++ iterators considered harmful? http://stackoverflow.com/questions/838721/c-iterators-considered-harmful . Yes definitely but that shouldn't come as a surprise. Hmm. Looking at Boost.Range and C 0x haven't they already Andrei's..
|