C++ Tips of the Week
abseil.io
abseil.io
Published every weekday!
Edit: the indexing is explained in a note on the site.
Hopefully whatever stopped the project has been resolved and they’ll be consistent now.
are these tips more 'modernish' ?
https://github.com/boostorg/utility/blob/develop/include/boo...
This proposal references Google and LLVM implementations:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n344...
Looks like the LLVM implementation goes back to at least 2009:
https://github.com/llvm-mirror/llvm/blob/master/include/llvm...
kind of surprising to note that implicit 'string_view' conversions are now regarded as a good thing?
on a side note, the language is _complicated_, and shows no signs of stopping ! 3 articles on move/copy ctor's and only one that applies to programming in general.
Yeah, StringPiece
http://google.github.io/google-api-cpp-client/latest/doxygen...
Scott Meyers' Effective Modern C++ is a great successor to his Effective C++ book which spawned the whole "Effective *" snowclone books and covers C++14, though not 17, of course.
Actually, this blog post's content looks like a watered-down version of a tip from either or both of the above authors, though I'm too lazy to chase down a verification.
> Consisting of the foundational C++ and Python code at Google, Abseil includes libraries that will grow to underpin other Google-backed open source projects like gRPC, Protobuf and TensorFlow.
This library already seems like it is suffering from scope-creep. Tensorflow, gRPC, and Protobuf are hardly related to improving the C++ standard. Why are these even in the same library at all?