c++ Programming Glossary: decision
Bigint (bigbit) library http://stackoverflow.com/questions/1055661/bigint-bigbit-library but for speed the best is likely TTmath . TTmath's design decision to use templated fixed lengths at compiletime lets it be quite..
Why does wide file-stream in C++ narrow written data by default? http://stackoverflow.com/questions/1509277/why-does-wide-file-stream-in-c-narrow-written-data-by-default by default Honestly I just don't get the following design decision in C Standard library. When writing wide characters to a file..
What are some good profilers for native C++ on Windows? http://stackoverflow.com/questions/153559/what-are-some-good-profilers-for-native-c-on-windows have to be free however cost does factor into the purchase decision. This is for commercial work so I can't use personal or academic..
Unnamed/anonymous namespaces vs. static functions http://stackoverflow.com/questions/154469/unnamed-anonymous-namespaces-vs-static-functions and anonymous unions not to type declarations. Edit The decision to deprecate this use of the static keyword affect visibility..
Why does an overridden function in the derived class hide other overloads of the base class? http://stackoverflow.com/questions/1628768/why-does-an-overridden-function-in-the-derived-class-hide-other-overloads-of-the seems to care to address the actual why question. The decision the rationale behind the name hiding i.e. why it actually was..
Should operator<< be implemented as a friend or as a member function? http://stackoverflow.com/questions/236801/should-operator-be-implemented-as-a-friend-or-as-a-member-function os return os paragraph What rationale should I base this decision on Note Paragraph to_str return paragraph where paragraph's..
Windows Phone 7 and native C++/CLI http://stackoverflow.com/questions/2455372/windows-phone-7-and-native-c-cli anymore. Although I've found speculation about this decision being reversed I doubt it. So I was thinking how viable would..
What is the copy-and-swap idiom? http://stackoverflow.com/questions/3279543/what-is-the-copy-and-swap-idiom our class so why does it work Remember the ever important decision we made to make the parameter a value and not a reference dumb_array..
Is a string literal in c++ created in static memory? http://stackoverflow.com/questions/349025/is-a-string-literal-in-c-created-in-static-memory this question Where it's created is an implementation decision by the compiler writer really. Most likely string literals will..
Why does C++ not have reflection? http://stackoverflow.com/questions/359237/why-does-c-not-have-reflection My objectives are to understand the language design decision and to identify the possibilities of reflection in C . Why C..
push_back vs emplace_back http://stackoverflow.com/questions/4303513/push-back-vs-emplace-back we can't do everything all at once. It's an understandable decision. Everyone who tried just once to emulate variadic template with..
Thou shalt not inherit from std::vector http://stackoverflow.com/questions/4353203/thou-shalt-not-inherit-from-stdvector that this shouldn't be used polymorphically anyway. Is my decision absolutely unjustifiable If so why Can you provide an alternative..
What is the use of “delete this”? http://stackoverflow.com/questions/447379/what-is-the-use-of-delete-this used for ref counted objects. For a ref counted object the decision of when to delete is usually placed on the object itself. Here..
Pretty-print C++ STL containers http://stackoverflow.com/questions/4850473/pretty-print-c-stl-containers below has the implementation. It was a conscious design decision to make the delimiters compile time constants rather than object..
Why doesn't C++ support functions returning arrays? http://stackoverflow.com/questions/5157439/why-doesnt-c-support-functions-returning-arrays wager a guess that to be concise it was simply a design decision. More specifically if you really want to know why you need to..
Const before or const after? http://stackoverflow.com/questions/5503352/const-before-or-const-after other if any Edit So it sounds like this was an arbitrary decision when the standard for how compilers should interpret things..
Floating point keys in std:map http://stackoverflow.com/questions/6684573/floating-point-keys-in-stdmap const double right const you can choose other way to make decision The original version is return left right return abs left right..
Should we still be optimizing “in the small”? http://stackoverflow.com/questions/763656/should-we-still-be-optimizing-in-the-small This has nothing to do with premature optimization. The decision to optimize has already been made. Now the question is what..
Advantage of switch over if-else statement http://stackoverflow.com/questions/97987/advantage-of-switch-over-if-else-statement code. Common things a compiler does is to build a binary decision tree saves compares and jumps in the average case or simply..
Take the address of a one-past-the-end array element via subscript: legal by the C++ Standard or not? http://stackoverflow.com/questions/988158/take-the-address-of-a-one-past-the-end-array-element-via-subscript-legal-by-the the C standard. And if it isn't standard C why was the decision made to treat it differently from array 5 or array 4 1 c c..
|