c++ Programming Glossary: martin
C++0X Concepts are gone. Which other features should go too? http://stackoverflow.com/questions/1155389/c0x-concepts-are-gone-which-other-features-should-go-too with concepts as they look now The Long Pole Gets Longer Martin Tasker on the impact to the schedule for C 0x if concepts have..
C++ socket programming Max size of tcp/ip socket Buffer? http://stackoverflow.com/questions/12931528/c-socket-programming-max-size-of-tcp-ip-socket-buffer negotiate window scaling. However I agree entirely with Martin James that this is a silly requirement. It wastes a thread a..
How to read file content into istringstream? http://stackoverflow.com/questions/132358/how-to-read-file-content-into-istringstream file.rdbuf file.close operations on the buffer... EDIT As Martin York remarks in the comments this might not be the fastest solution..
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 for utf8 in Boost . Also there is a codecvt for utf16 by Martin York here on SO . The question is why the standard codecvt converts..
Which iomanip manipulators are 'sticky'? http://stackoverflow.com/questions/1532640/which-iomanip-manipulators-are-sticky this question Important notes from the comments below By Martin @Chareles Then by this requirement all manipulators are sticky...
null objects vs. empty objects http://stackoverflow.com/questions/1628434/null-objects-vs-empty-objects and so on. The Introduce Null Object pattern in Martin Fowler's Refactoring page 260 may also be helpful. A Null Object..
Should I inherit from std::exception? http://stackoverflow.com/questions/1669514/should-i-inherit-from-stdexception throw at it but can just catch the std exception . Edit as Martin and others noted you actually want to derive from one of the..
Coding Standards / Coding Best practices in C++ http://stackoverflow.com/questions/1709562/coding-standards-coding-best-practices-in-c false return generateReport The clean code by Robert C. Martin is a nice book which deals with this. But I guess that book..
Why is there a performance warning on cast pointer to bool? http://stackoverflow.com/questions/1847860/why-is-there-a-performance-warning-on-cast-pointer-to-bool helpful and found a bug in my code just yesterday. I think Martin is taking performance warning out of context. It's not about..
What is the performance implication of converting to bool in C++? http://stackoverflow.com/questions/206564/what-is-the-performance-implication-of-converting-to-bool-in-c helpful and found a bug in my code just yesterday. I think Martin is taking performance warning out of context. It's not about..
In C++, is it safe/portable to use static member function pointer for C API callbacks? http://stackoverflow.com/questions/2068022/in-c-is-it-safe-portable-to-use-static-member-function-pointer-for-c-api-call C wrapper instead. And according to comments made by Martin York in that answer there are real world problems trying to..
How does the template parameter of std::function work? (implementation) http://stackoverflow.com/questions/3534812/how-does-the-template-parameter-of-stdfunction-work-implementation non member function pointer in one not two variable. Edit Martin York is right the switch statement wasn't a good idea in the..
Value initialization and Non POD types http://stackoverflow.com/questions/3931312/value-initialization-and-non-pod-types to me was correct. However my answer was downvoted by Martin B . He said You're just lucky and are getting zeros because..
Stack,Static and Heap in C++ http://stackoverflow.com/questions/408670/stack-static-and-heap-in-c get bad if you are at all concerned with performance. Edit Martin B points out that it is O n for reasonably efficient algorithms...
The effect of `basic_streambuf::setbuf` http://stackoverflow.com/questions/4349778/the-effect-of-basic-streambufsetbuf of `basic_streambuf setbuf` My problem is as follows Martin York claims in this this and this answers that one can make..
getline not asking for input? http://stackoverflow.com/questions/6642865/getline-not-asking-for-input . Another option and this is along the lines of what Martin was talking about is to not use operator at all and only use..
C++, __try and try/catch/finally http://stackoverflow.com/questions/7049502/c-try-and-try-catch-finally underscores. So when do you need these underscores Thanks Martin c exception handling try catch finally share improve this..
Stitching 2 images in opencv http://stackoverflow.com/questions/8205835/stitching-2-images-in-opencv align these two images. Thank you for helping. Edit With Martin Beckett's help I added this code Point a cv Mat header at it..
Can this macro be converted to a function? http://stackoverflow.com/questions/95500/can-this-macro-be-converted-to-a-function simply save the array size into a constant from the start. Martin York's posted solution also work under compile time but involve..
|