C++17 In Detail

13 April 2019

C++ Links #26 - co_awaiting coroutines and new boost libraries

Welcome to new C++ Links - most important and useful articles, podcasts and videos that happen between 6th and 12th of April 2019.

In this week you will find the link to post about co_awaiting coroutines, link to an article how to write spaceship operator with std::tuple & CRTP pattern and many more!

  1. Guest post on the fluentcpp blog - from Henrik Sjöström. He is showing how to implement the Spaceship operator before C++20. To implement it he uses… tuples in combination with Curiously Recurring Template Pattern:
    fluentcpp.com/2019/04/09/how-to-emulate-the-spaceship-operator-before-c20-with-crtp/

  2. Article about coroutines from Dawid Pilarski - he describes Awaitable and Awaiter concept, co_await operator and await_transform. A little bit magic inside, but after reading it you should be able to implement any coroutine
    blog.panicsoftware.com/co_awaiting-coroutines/

  3. New boost library is out! Two new libraries inside - boost::outcome - lightweight outcome<T> and result<T>, boost::histogram - fast multi-dimensional histogram with convenient interface for C++14:
    boost.org/users/history/version_1_70_0.html

  4. Video from CopperSpice - how to render 3D graphics in C++, with examples in OpenGL:
    youtube.com/watch?v=MXz2t0gvRxI

  5. In we C++ Weekly episode Jason Turner shows how to write recursive lambda.
    youtube.com/watch?v=M_Mrk1xHMoo

  6. New CppCast episode - with Guy Davidson, about Linear Algebra & his work in the audio industry:
    cppcast.com/2019/04/guy-davidson/

  7. Article from Marek Polacek about std::move, actually about when not to use it not to prevent RVO and NRVO. The author shows a few interesting gcc flags that might help with it:
    developers.redhat.com/blog/2019/04/12/understanding-when-not-to-stdmove-in-c/

  8. Arthur O’Dwyer wrote a post about an interesting quirk of C++ - how hana::type<T> from boost disables ADL:
    quuxplusone.github.io/blog/2019/04/09/adl-insanity-round-2/

Bonus 1: There is new c++ conference in Paris, CPPP (C++ Progress-Produce-Push forward).
cppp.fr/

The links are brought to you by 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.

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.