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.
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/lSpeaking 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/lAfter 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/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.htmlThis 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/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/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
- Visual Studio 2019 16.2 Released, see its release notes.
- Some smaller new C++20 implemented
- See a separate post about: Improved Linker Fundamentals in Visual Studio 2019 | C++ Team Blog
- Visual Studio Code C/C++ Extension: July 2019 Update
- CLion 2019.2 has landed with new functionality for Embedded Developers, experimental MSVC debugger, updated Unused Includes check, parameter hints, and much more
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.