c++ Programming Glossary: unexpectedly
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 has the special dangerous ability to be copied which also unexpectedly transfers ownership std auto_ptr MyObject p1 new MyObject std..
program crash while using char* http://stackoverflow.com/questions/12482465/program-crash-while-using-char char While running following code my program crashes unexpectedly #include stdio.h #include string.h int main char str NULL strcpy..
Why my C++/CX unit-test does not fail? http://stackoverflow.com/questions/12581714/why-my-c-cx-unit-test-does-not-fail Test Run was aborted because the execution process exited unexpectedly. To investigate further enable local crash dumps either at the..
Is there a generally accepted idiom for indicating C++ code can throw exceptions? http://stackoverflow.com/questions/1261558/is-there-a-generally-accepted-idiom-for-indicating-c-code-can-throw-exceptions exceptions I have seen problems when using C code that unexpectedly to the caller throws an exception. It's not always possible..
How to hide a string in binary code? http://stackoverflow.com/questions/1356896/how-to-hide-a-string-in-binary-code a bit clever about this to ensure the key doesn't change unexpectedly This has a potentially desirable side effect of verifying the..
step into system, CRTL functions with Eclipse in Linux http://stackoverflow.com/questions/14027693/step-into-system-crtl-functions-with-eclipse-in-linux Note that this is just an example of how things may work unexpectedly when debugging the kernel not strictly I've done this and it..
Move member function generation http://stackoverflow.com/questions/16897845/move-member-function-generation removed the output is true true true true value is unexpectedly move constructible and move assignable. Am I misunderstanding..
Adding an include guard breaks the build http://stackoverflow.com/questions/1744144/adding-an-include-guard-breaks-the-build guarantee of being universally unique if it turns up unexpectedly INCLUDE_GUARD is a good hint about what it is while serving..
What is memory fragmentation? http://stackoverflow.com/questions/3770457/what-is-memory-fragmentation ignore it until your program has allocation failures or unexpectedly causes the system to run low on memory catch this in testing..
measuring time of a profiled “Sleep” function http://stackoverflow.com/questions/4587065/measuring-time-of-a-profiled-sleep-function wall clock says it's waited long enough and if there's an unexpectedly large gap between ticks push the deadline out further because..
“using namespace” in c++ headers http://stackoverflow.com/questions/5849457/using-namespace-in-c-headers in headers for precisely the reason you say that it can unexpectedly change the meaning of code in any other files that include that..
Getting a dump of a process that crashes on startup http://stackoverflow.com/questions/696580/getting-a-dump-of-a-process-that-crashes-on-startup If you must troubleshoot a program or process that quits unexpectedly during startup . The same article says use User Mode Process..
Preventing non-const lvalues from resolving to rvalue reference instead of const lvalue reference http://stackoverflow.com/questions/7748104/preventing-non-const-lvalues-from-resolving-to-rvalue-reference-instead-of-const are allowed to be modified this leaves me with an unexpectedly modified local variable. EDIT Just added non template versions..
C++: How do I decide if to pass params by ref or by value? http://stackoverflow.com/questions/9442202/c-how-do-i-decide-if-to-pass-params-by-ref-or-by-value bugs introduced by allowing functions to change your data unexpectedly is far more important than a few bytes of wasted stack space...
|