C++17 In Detail

26 July 2019

C++ Links #30 - Contracts Removed from C++20!

Welcome to new C++ Links - most relevant and useful articles, podcasts and videos that happen between 19th and 26th of July 2019.

Today you will find links to Cologne Trip reports, where the final shape of C++20 was formulated! And then you’ll also read about constant globals, __has_include and some tools updates.

  1. A new episode of C++Cast with two guests, Botond Ballo and Tom Honermann. This time they discuss what happened in the last ISO Meeting In Cologne.
    cppcast.com/2019/07/botond-ballo-tom-honermann/l

  2. Speaking about Cologne. Here’s a full trip report build at r/cpp. This is a massive summary of all the elements that were merged into the upcoming C++20 standard.
    /r/cpp/comments/cfk9de/201907_cologne_iso_c_committee_trip_report_the/l

  3. After r/cpp thread we also have a Trip Report from Herb Sutter. He discusses the overall shape of C++20 and the standardisation process.
    herbsutter.com/2019/07/20/trip-report-summer-iso-c-standards-meeting-cologne/

  4. One of the features of C++20 is a new way to print and format text through std::format. This is a library based on the {fmt} library by Victor Zverovich. See the full story behind this process:
    zverovich.net/2019/07/23/std-format-cpp20.html

  5. This week on fluentcpp there’s a super thorough article about constant globals in C++. See how you can optimise the final binary size, what are the tricks and what was improved in C++17 - especially through inline variables.
    fluentcpp.com/2019/07/23/how-to-define-a-global-constant-in-cpp/

  6. In Friday’s article on fluentcpp, you can read about how to compose containers with strong types. Variadic templates in use, so be prepared :)
    fluentcpp.com/2019/07/26/strong-types-on-collections/

  7. Article about using a fresh __has_include utility from C++17 and also feature test macros adopted for C++20. With both parts, you can effortlessly test for a feature existence.
    bfilipek.com/2019/07/hasinclude

Tools Updates

The links are brought to you through collaboration with Wojciech Razik.
Wojtek is a Senior C++ developer at Thaumatec, currently writing software for a face & iris recognition device. 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.

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.