c++ Programming Glossary: trust
In C++, why use static_cast<int>(x) instead of (int)x? http://stackoverflow.com/questions/103512/in-c-why-use-static-castintx-instead-of-intx the other hand is always dangerous. You tell the compiler trust me I know this doesn't look like a foo this looks as if it isn't..
Weird MSC 8.0 error: “The value of ESP was not properly saved across a function call…” http://stackoverflow.com/questions/142644/weird-msc-8-0-error-the-value-of-esp-was-not-properly-saved-across-a-function leaving the program running apparently correctly. I do not trust this at all. Was this a proper solution or a dangerous hack..
Variable initialization in C++ http://stackoverflow.com/questions/2218254/variable-initialization-in-c a function or in global namespace scope thanks Jerry Never trust on a variable of a plain type int long ... being automatically..
Garbage Collection in C++ — why? http://stackoverflow.com/questions/228620/garbage-collection-in-c-why this kind of major feature break the language so we can trust them to make the necessary work to enable a correct C GC that..
Cleaning up an STL list/vector of pointers http://stackoverflow.com/questions/307082/cleaning-up-an-stl-list-vector-of-pointers return true foo_list . remove_if deleteAll I think we can trust the folks who came up with STL to have efficient algorithms...
How do you declare an interface in C++? http://stackoverflow.com/questions/318064/how-do-you-declare-an-interface-in-c to define a function as both virtual and inline but trust me it isn't. class IDemo public virtual ~IDemo virtual void..
Friend scope in C++ http://stackoverflow.com/questions/437250/friend-scope-in-c of mine and he can use my wireless connection any time I trust him . John's friend Tim though is a waster and though John is.. Also John's children are a bunch of hooligans so I don't trust them either they are definitely not my friends nor are my own.. definitely not my friends nor are my own children who I trust as far as I could throw them. Though our children can not directly..
How to setup Google C++ Testing Framework (gtest) on Visual Studio 2005 http://stackoverflow.com/questions/531941/how-to-setup-google-c-testing-framework-gtest-on-visual-studio-2005 you save yourself a lot of headache later in support trust me on this one I've learned it the hard way . Anyways to do..
Is C# really slower than say C++? http://stackoverflow.com/questions/5326269/is-c-sharp-really-slower-than-say-c his car always wins and everybody else has to settle for trust me I was really driving your car as fast as it would go. It's.. meaningful results. As my friend James Kanze put it never trust a benchmark you didn't falsify yourself. Conclusion There is..
Testing pointers for validity (C/C++) http://stackoverflow.com/questions/551069/testing-pointers-for-validity-c-c way you can check whether a pointer is valid . You have to trust that when people use a function that takes a pointer those people.. they pass you 0x4211 as a pointer value then you have to trust it points to address 0x4211. And if they accidentally hit an..
__FILE__, __LINE__, and __FUNCTION__ usage in C++ http://stackoverflow.com/questions/597078/file-line-and-function-usage-in-c or taking a performance hit as a result. Basically can I trust __FILE__ __LINE__ and __FUNCTION__ to do the right thing all..
Protecting executable from reverse engineering? http://stackoverflow.com/questions/6481668/protecting-executable-from-reverse-engineering harder but you can never prevent it. You should never trust security that relies on the prevention of reverse engineering...
Circular lock-free buffer http://stackoverflow.com/questions/871234/circular-lock-free-buffer to code and papers by Ross Bencina. The guy whose work I trust the most is Maurice Herlihy for Americans he pronounces his..
Memcached on Windows (x64) http://stackoverflow.com/questions/8896/memcached-on-windows-x64 although I can try and compile it myself I simply can't trust with my C experience level that it would provide Enterprise..
|