C++17 In Detail

21 September 2018

C++ Links #3

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 15th and 21st of September.

Today you will find a link to post about “same but different” objects in C++, a video showing what code compiler generates when you write a lambda, article about why you should always capture exception by const reference and many others.

  1. Post from Arthur O’Dwyer about data race in a case when we catch an exception by non-const reference. The situation shown by Arthur looks rather rare, but as Terry Pratchett wrote - million-to-one chance succeeds nine times out of ten, so it’s good to know this:

  2. Bartłomiej Filipek wrote a review of a really interesting book - Professional C++ 4th Edition by Marc Gregoire. The overall note is 4.5/5 - definitely worth reading. If you are looking for a way to get book free - you will find details in the post.

  3. Guest post on Jonathan Boccara blog - nice description of how to remove pointer variable from a vector. Not only a unique_ptr, but also for instance owning raw pointer:

  4. New C++ Weekly video from Jason Turner - in this weeks he describes what exactly lambda is and what piece of code is generated by the compiler:

  5. Post from John Regehr - he describes the difference between pointer and integer. He goes into the zone “where compiler writers need to make decisions that balance optimisation power against developers”:

  6. Interesting post from Arne Mertz about “same but different” values. He shows examples when to the same values are actually not the same, or values that are different but equal. Sounds weird, but he describes everything clearly in the article:

  7. A new episode of CppCast, first C++ podcast. This week guest is Bryce Adelstein Lelbach, a software developer on the CUDA driver team at NVIDIA. The discussion is mostly about upcoming CppCon conference:

  8. Post from Jonathan Boccara - he continues series about removing members from containers. In below article he shows how to remove elements from associative containers, one of the examples uses, for instance, std::stable_partition:

  9. Newest post from Herb Sutter - he describes new paper about profiling lifetime of the objects, a potential solution for dangling pointers and leaks!

What’s your favourite link for this week?
Maybe we missed something relevant?
Let us know in comments.

The links are brought to you by Wojciech Razik.
Wojtek is a Senior C++ developer at Thaumatec, currently writing software for a robot. He enjoys reading C++ Standard before bed, and he loves to hate JS from dawn to dusk.
If you know Polish, take a look at cpp-polska.pl where Wojtek is one of the co-authors.

Get my free ebook about C++17!

More than 50 pages about the new Language Standard.

C++17 in detail, by Bartlomiej Filipek

C++17 In Detail
© 2017, Bartlomiej Filipek, Blogger platform
Disclaimer: Any opinions expressed herein are in no way representative of those of my employers. All data and information provided on this site is for informational purposes only. I try to write complete and accurate articles, but the web-site will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use.
This site contains ads or referral links, which provide me with a commission. Thank you for your understanding.