c++ Programming Glossary: completeness
The simplest and neatest c++11 ScopeGuard http://stackoverflow.com/questions/10270328/the-simplest-and-neatest-c11-scopeguard UB because we're returning by value _a return scope so for completeness i want to put in here the complete code including tests #include..
Is there any reason to use the 'auto' keyword in C / C++? http://stackoverflow.com/questions/1046477/is-there-any-reason-to-use-the-auto-keyword-in-c-c this keyword have any purpose other than just existing for completeness c c keyword share improve this question auto is a storage..
Purpose of Trigraph sequences in C++? http://stackoverflow.com/questions/1234582/purpose-of-trigraph-sequences-in-c got something I should knowingly deal with. And just for completeness digraphs are much less dangerous since they get processed as..
What are the most widely used C++ vector/matrix math/linear algebra libraries, and their cost and benefit tradeoffs? http://stackoverflow.com/questions/1380371/what-are-the-most-widely-used-c-vector-matrix-math-linear-algebra-libraries-a with respect to any of API speed memory use breadth completeness narrowness specificness extensibility and or maturity stability...
std::locale breakage on MacOS 10.6 with LANG=en_US.UTF-8 http://stackoverflow.com/questions/1745045/stdlocale-breakage-on-macos-10-6-with-lang-en-us-utf-8 internally as part of the filesystem library. For completeness I should point out that the program from which this code was..
Difference between [square brackets] and *asterisk http://stackoverflow.com/questions/1790704/difference-between-square-brackets-and-asterisk assuming they are equivalent to the compiler For completeness an example void readEmStar int arrayOfInt int len for int i..
Remove comments from C/C++ code http://stackoverflow.com/questions/2394017/remove-comments-from-c-c-code KennyTM for finding the right flags. Here ™s the result for completeness test.c #define foo bar foo foo foo #ifdef foo #undef foo #define..
How to set a timeout on blocking sockets in boost asio? http://stackoverflow.com/questions/291871/how-to-set-a-timeout-on-blocking-sockets-in-boost-asio it the latter case is not really portable. For a sake of completeness here's the description from the man page SO_RCVTIMEO and SO_SNDTIMEO..
typedef and incomplete type http://stackoverflow.com/questions/3074872/typedef-and-incomplete-type pointer reference iterator etc does not depend on the completeness of T and knowing that the class can not be instantiate without.. of specific container or allocator NOTE Just for completeness in 'real' code I use a small local memory with vector rather.. is that pointer reference etc should not depend on completeness of a type. Otherwise construct like struct foo foo_ptr p can..
Why does C++ compilation take so long? http://stackoverflow.com/questions/318398/why-does-c-compilation-take-so-long especially in the case of x86 . This is mentioned out of completeness only because it was mentioned in comments and such. In practice..
float bits and strict aliasing http://stackoverflow.com/questions/4328342/float-bits-and-strict-aliasing uni float x union float f unsigned u f x return u Just for completeness here is a reference version of foo . Also undefined behavior..
vector erase iterator http://stackoverflow.com/questions/4645705/vector-erase-iterator while it res.end it res.erase it to erase each element for completeness I assume this is a simplified example if you simply want every..
C++ on Small-Footprint Microcontrollers http://stackoverflow.com/questions/5710942/c-on-small-footprint-microcontrollers issue with some C compilers for small targets is the completeness of available C implementations or the availability of a C compiler..
Polymorphism in c++ http://stackoverflow.com/questions/5854581/polymorphism-in-c conversions and casting coercion are discussed later for completeness as they're commonly intuitively understood anyway warranting.. Other mechanisms supporting polymorphism As promised for completeness several peripheral topics are covered compiler provided overloads..
Is std::unique_ptr<T> required to know the full definition of T? http://stackoverflow.com/questions/6012157/is-stdunique-ptrt-required-to-know-the-full-definition-of-t members of shared_ptr and unique_ptr with respect to completeness requirements. If the member requires a complete type then entry..
How to determine CPU and memory consumption from inside a process? http://stackoverflow.com/questions/63166/how-to-determine-cpu-and-memory-consumption-from-inside-a-process from the appropriate WIN32 API I just list them here for completeness. Others however need to be obtained from the Performance Data..
Move assignment operator and `if (this != &rhs)` http://stackoverflow.com/questions/9322174/move-assignment-operator-and-if-this-rhs a bug on the part of the client that should be fixed. For completeness here is a move assignment operator for dumb_array dumb_array..
Why is reading lines from stdin much slower in C++ than Python? http://stackoverflow.com/questions/9371238/why-is-reading-lines-from-stdin-much-slower-in-c-than-python 7 Tiny benchmark addendum and recap Hello HN readers For completeness I thought I'd update the read speed for the same file on the..
|