C++17 In Detail

09 March 2019

C++ Links #22

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 2nd and 8th of March 2019.

This week you will find links to articles about accepted Modules proposal, a great MSVC improvement that is reducing binaries with C++ exceptions by 20% and many more!

  1. New C++ Weekly episode from Jason Turner. He explained why we should never overload operators && and ||:
    youtube.com/watch?v=hCGadTsT0S0

  2. Jonathan Boccara is showing how to apply function for all elements in the container. He is showing how to do that with fold expressions and nice trick with std::initializer_list:
    fluentcpp.com/2019/03/05/for_each_arg-applying-a-function-to-each-argument-of-a-function-in-cpp/

  3. Rainer Grimm explains what a template parameter is, what it can be, and why we need to have template keyword before a dependent name:
    modernescpp.com/index.php/types-non-types-and-templates-as-template-parameters

  4. Kona Trip report from Corentin, he is focused on describing Modules and Coroutines proposals:
    cor3ntin.github.io/posts/kona2019/

  5. vector-of-bool wrote a summary about the current Modules proposal that was accepted in Kona. They are not dead-on-arrival!
    vector-of-bool.github.io/2019/03/04/modules-doa-2.html

  6. Two interesting posts from Arthur O’Dwyer. In first he describes exciting proposal called Expansion Statements, it will allow for construction: for... (auto arg : pack) , for... (constexpr int i : array) and for... (auto arg : tuple).
    quuxplusone.github.io/blog/2019/02/28/expansion-statements/
    The second article is about the difference between creating an object with std::make_shared and std::shared_ptr:
    quuxplusone.github.io/blog/2019/03/06/shared-ptr-vs-make-shared-pitfall/

  7. Another trip Report from Kona - not only classical Modules & Coroutines description but also Contracts, Initialization, Aggregates, CTAD, Audio & more:
    timur.audio/trip-report-february-2019-iso-c-committee-meeting-kona-hawaii

  8. Interesting article about how to use {fmtlib} from Wojciech GamuĊ‚a:
    wgml.pl/blog/formatting-user-defined-types-fmt.html

  9. Jonathan Boccara is showing algorithms that can operate on std::tuple:
    fluentcpp.com/2019/03/08/stl-algorithms-on-tuples/

  10. New CppCast episode - interview with Kirk Shoop, about Kona meeting, asynchronous programming, RxCpp library and the future of Executors in C++.
    cppcast.com/2019/03/kirk-shoop/

  11. Microsoft team did something amazing! They were able to reduce binary that is using exceptions for about 20%:
    devblogs.microsoft.com/cppblog/making-cpp-exception-handling-smaller-x64/

  12. Interesting article about one of the most popular design pattern - factory:
    derydoca.com/2019/03/c-tutorial-auto-registering-factory/

Extra 1: Microsoft makes his calculator open-source!
blogs.windows.com/buildingapps/2019/03/06/announcing-the-open-sourcing-of-windows-calculator/

Extra 2: Meeting C++ team have a great blogroll, and as everyone knows there is no such thing as “too much C++ content”:
meetingcpp.com/blog/blogroll/items/Meetiing-Cpp-Blogroll-181.html

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
Any opinions expressed herein are in no way representative of those of my employers.
This site contains ads or referral links, which provide me with a commission. Thank you for your understanding.