c++ Programming Glossary: herb
Are the days of passing const std::string & as a parameter over? http://stackoverflow.com/questions/10231349/are-the-days-of-passing-const-stdstring-as-a-parameter-over std string as a parameter over I heard a recent talk by Herb Sutter who suggested that the reasons to pass std vector and.. by reference is still a good idea. Can anyone explain why Herb might have said this c c 11 share improve this question .. this c c 11 share improve this question The reason Herb said what he said is because of cases like this. Let's say I..
Is there a production ready lock-free queue or hash implementation in C++ http://stackoverflow.com/questions/1164023/is-there-a-production-ready-lock-free-queue-or-hash-implementation-in-c this question The starting point would be either of Herb Sutter's DDJ articles for either a single producer and consumer..
Purpose of Trigraph sequences in C++? http://stackoverflow.com/questions/1234582/purpose-of-trigraph-sequences-in-c defintinely have me pulling my hair out take a look at Herb Sutter's GOTW #86 article . Addendum It looks like GCC will..
Namespace + functions versus static methods on a class http://stackoverflow.com/questions/1434937/namespace-functions-versus-static-methods-on-a-class an online reference to this principle in an article from Herb Sutter http www.gotw.ca gotw 084.htm The important thing to..
How is std::string implemented? http://stackoverflow.com/questions/1466073/how-is-stdstring-implemented the string instead of dynamically allocating a buffer Also Herb Sutter's More Exceptional C has an appendix Appendix A Optimizations..
What is “cache-friendly” code? http://stackoverflow.com/questions/16699247/what-is-cache-friendly-code the main methods to reduce the impact of latency cfr. the Herb Sutter talk I linked at the start . To paraphrase Herb Sutter.. the Herb Sutter talk I linked at the start . To paraphrase Herb Sutter cfr. links below increasing bandwidth is easy but we.. you are into videos I strongly recommend to have a look at Herb Sutter's talk on machine architecture youtube specifically check..
Does “&s[0]” point to contiguous characters in a std::string? http://stackoverflow.com/questions/1986966/does-s0-point-to-contiguous-characters-in-a-stdstring new standard forces it to be. In practice neither I nor Herb Sutter know of an implementation that does not use contiguous..
catch exception by pointer in C++ http://stackoverflow.com/questions/2023032/catch-exception-by-pointer-in-c a pointer use a smart pointer such as shared_ptr . Anyway Herb Sutter and Alexei Alexandrescu explain that really well in their..
Can I use a binary literal in C or C++? http://stackoverflow.com/questions/2611764/can-i-use-a-binary-literal-in-c-or-c hex 0012 dec 18 oct 000022 bin 0000000000010010 Also read Herb Sutter's The String Formatters of Manor Farm for an interesting..
When to use virtual destructors? http://stackoverflow.com/questions/461203/when-to-use-virtual-destructors
What C++ Smart Pointer Implementations are available? http://stackoverflow.com/questions/5026197/what-c-smart-pointer-implementations-are-available of my limited understanding and assumptions are based on Herb Sutter's Effective Use of auto_ptr and I do use it regularly..
Will std::string always be null-terminated in C++11? http://stackoverflow.com/questions/6077189/will-stdstring-always-be-null-terminated-in-c11 be null terminated in C 11 In a 2008 post on his site Herb Sutter states the following There is an active proposal to tighten..
C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming? http://stackoverflow.com/questions/6319146/c11-introduced-a-standardized-memory-model-what-does-it-mean-and-how-is-it-g does that mean And how is it going to affect C programming Herb Sutter says here that The memory model means that C code now..
make_unique and perfect forwarding http://stackoverflow.com/questions/7038357/make-unique-and-perfect-forwarding ptr perfect forwarding share improve this question Herb Sutter chair of the C standardization committee writes on his..
Where do I find the current C or C++ standard documents? http://stackoverflow.com/questions/81656/where-do-i-find-the-current-c-or-c-standard-documents than above you may be able to find a cheap used copy of Herb Schildt 's book The Annotated ANSI Standard at Amazon contains..
Check if a class has a member function of a given signature http://stackoverflow.com/questions/87372/check-if-a-class-has-a-member-function-of-a-given-signature I want. If you read the link to the gotw site old site of Herb Sutter you'll discover that your solution is both intrusive..
|