c++ Programming Glossary: brittle
How should I unit test a code-generator? http://stackoverflow.com/questions/11060/how-should-i-unit-test-a-code-generator this code I did it using TDD but I've found my tests to be brittle as hell. Because each test essentially wanted to verify that.. fact that the unit tests themselves are a complex and b brittle. So I'm trying to think of alternative approaches to this problem..
Automatically count the number of instantiated classes in a TMP? http://stackoverflow.com/questions/11403417/automatically-count-the-number-of-instantiated-classes-in-a-tmp for gcc would also be appreciated. EDIT my current very brittle approach for Visual C is adding the compile switch from one..
WM_KEYDOWN : how to use it? http://stackoverflow.com/questions/1169732/wm-keydown-how-to-use-it
Use std::initializer_list in Visual C++ Compiler November 2012 CTP http://stackoverflow.com/questions/14559761/use-stdinitializer-list-in-visual-c-compiler-november-2012-ctp
How should one log when an exception is triggered? http://stackoverflow.com/questions/15504166/how-should-one-log-when-an-exception-is-triggered 'throw' and placed a 'return'. I see now my solution was brittle it wasn't future modification proof. I want a better solution..
C++ concatenate string and int http://stackoverflow.com/questions/191757/c-concatenate-string-and-int safe slow and verbose requires nothing is standard C is brittle you must supply a large enough buffer fast and verbose itoa.. and not guaranteed to be available for all platforms is brittle you must supply a large enough buffer fast and verbose requires.. verbose requires nothing is standard C all platforms is brittle you must supply a large enough buffer probably the fastest possible..
prolonging the lifetime of temporaries http://stackoverflow.com/questions/4670137/prolonging-the-lifetime-of-temporaries
Making swap faster, easier to use and exception-safe http://stackoverflow.com/questions/4875289/making-swap-faster-easier-to-use-and-exception-safe std swap idiom instead of calling std swap directly. Very brittle. In C 0x if Foo has a user defined move constructor and a move..
|