c++ Programming Glossary: techniques
How to debug heap corruption errors? http://stackoverflow.com/questions/1010106/how-to-debug-heap-corruption-errors and delete shameless self promotion aside it lists other techniques that are helpful in tracking heap corruption errors as well..
what is array decaying? http://stackoverflow.com/questions/1461432/what-is-array-decaying The purpose of the three functions is to show the various techniques which don't maintain the full functionality of an array i.e...
C state-machine design http://stackoverflow.com/questions/1647631/c-state-machine-design if you gurus on SO would share your state machine design techniques. NOTE I am primarily after tried tested implementation techniques... NOTE I am primarily after tried tested implementation techniques. UPDATED Based on all the great input gathered on SO I've settled..
Static variables initialisation order http://stackoverflow.com/questions/211237/static-variables-initialisation-order so only affects objects with constructors . There are techniques to get around the problem. Lazy initialization. Schwarz Counter..
_DEBUG vs NDEBUG http://stackoverflow.com/questions/2290509/debug-vs-ndebug debugging code to be consistent with the MS CRT debugging techniques and NDEBUG if you want to be consistent with assert . If you..
Programmatically create static arrays at compile time in C++ http://stackoverflow.com/questions/2978259/programmatically-create-static-arrays-at-compile-time-in-c 1 Is it possible by using various kinds of metaprogramming techniques to assign these values programmatically at compile time Question..
What C++ pitfalls should I avoid? [closed] http://stackoverflow.com/questions/30373/what-c-pitfalls-should-i-avoid virtual functions in constructors Employ minimalist coding techniques where possible for example declaring variables only when needed..
Why have header files and .cpp files in C++? [closed] http://stackoverflow.com/questions/333889/why-have-header-files-and-cpp-files-in-c changes. It's not perfect and you would usually resort to techniques like the Pimpl Idiom to properly separate interface and implementation..
What techniques can be used to speed up C++ compilation times? http://stackoverflow.com/questions/373142/what-techniques-can-be-used-to-speed-up-c-compilation-times techniques can be used to speed up C compilation times What techniques.. can be used to speed up C compilation times What techniques can be used to speed up C compilation times This question came.. long c compiler share improve this question Language techniques Pimpl Idiom Take a look at the pimpl idiom here and here . Also..
How can I add reflection to a C++ application? http://stackoverflow.com/questions/41453/how-can-i-add-reflection-to-a-c-application using RTTI. Which additional libraries or other techniques could supply this information c reflection templates sfinae..
Type erasure techniques http://stackoverflow.com/questions/5450159/type-erasure-techniques erasure techniques With type erasure I mean hiding some or all of the type information.. like Boost.Any . I want to get a hold of type erasure techniques while also sharing those which I know of. My hope is kinda to.. So for my actual question What other type erasure techniques do you know of Please provide them if possible with an example..
Can a local variable's memory be accessed outside its scope? http://stackoverflow.com/questions/6441218/can-a-local-variables-memory-be-accessed-outside-its-scope generating code to manage memory but over time two basic techniques have become entrenched. The first is to have some sort of long..
Why should `new` be used as little as possible? http://stackoverflow.com/questions/6500313/why-should-new-be-used-as-little-as-possible this question There are 2 widely used memory allocation techniques automatic allocation and dynamic allocation. Commonly there..
|