cppbestpractices
cppbestpractices copied to clipboard
Collaborative Collection of C++ Best Practices. This online resource is part of Jason Turner's collection of C++ Best Practices resources. See README.md for more information.
Many links seem to be awkwardly worded or raw URLs. Like this one from the "Considering Threadability" section: ` For more information see the following article from Herb Sutter: http://herbsutter.com/2013/05/24/gotw-6a-const-correctness-part-1-3/...
It says "This article provides a background and explains techniques for implementing nearly 100% of the time." which doesn't make sense. Maybe "This article provides a background and explains techniques...
Sorry, I've accidentally **deleted** the wiki's main file. I thought it would redirect me to fork the repo to do that... 😑 When I tried to revert the commit that...
The gitbook link in the readme links to the legacy version of gitbook, new gitbook users are unable to login through the legacy portal. Get 401 error when I go...
03-Style - line 368 The text mentions "integer underflow". There is no such thing. Underflow (that is, truncation to zero) happens only for floating point types. https://stackoverflow.com/questions/6360049/what-are-arithmetic-underflow-and-overflow-in-c
_Summary: There's a really easy way to do this, and keep it uptodate - this ticket is to explore whether you would accept a pull-request to implement it..._ ## Motivation...
In the "Use The Tools Available" section, it says that bazel is "MacOS and Linux only." According to bazel's documentation, Windows is supported: https://docs.bazel.build/versions/master/windows.html.
A counter point to the `std::bind` section seems to prove there isn't a runtime overhead for the example given: https://godbolt.org/g/ZcUgRr
I'd like to make the observation that perhaps this is a good place for templated functions instead of runtime checks. If so, how often would you see this in production...