Partially-Formed @ Meeting C++ 2021 talk is now online

My talk “Partially-Formed Objects For Fun And Profit” from Meeting C++ 2020 is now online here: https://www.youtube.com/watch?v=9OQKZl7ha7g

From the abstract:

Lately, partially-formed states have gained some traction as the natural state of moved-from objects. Alexander Stepanov, in his landmark book Elements of Programming (EoP), defines them as a state in which the only valid operations are assignment and destruction. This state was, and continues to be, essential to high-performance code, and to the C++ guarantee of “don’t pay for what you don’t use”.

We will also show how developers that feel uneasy about the partially-formed state can avoid them at little to no cost, neither in code readability, nor performance, and use these examples to propose a new (or old) paradigm for API design: safe and unsafe functions (in the Sean Parent sense).

A longer version of the talk, in which I also cover the Bonus Slides, for which I didn’t have time in the Meeting C++ version, is available from the MUC++ YouTube channel: https://www.youtube.com/watch?v=HcSAIZafNZU

About marcmutz
Marc Mutz is a Principal Software Engineer with The Qt Company.

One Response to Partially-Formed @ Meeting C++ 2021 talk is now online

  1. Pingback: Links 23/1/2021: Chromium Pains and New Debian Maintainers | Techrights

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.