Skip to content

Details

This one will be online again. We'll see what October looks like!

------

How would our code change if a member function could deduce the type and value category of the object ("this") it worked on?

Potentially a lot, and this talk will highlight some of those changes. Because with C++23, member functions will be able to do just that using a feature described in P0847, "Deducing this".

Many patterns in C++ today could change, and new patterns will arise.
This talk will explore those patterns, explain how "deducing this" works, and show how it solves the problems that originally motivated the paper.

Some sample effects on our code: CRTP is simplified; decorators become much easier and terser; recursive lambda expressions become
straightforward. There are also implications for safely and efficiently moving values through computations.

Sponsors

Sponsor logo
Trimble
Space and soft drinks
Sponsor logo
alteryx
(Historic) drinks and food
Sponsor logo
QuantLab
(Historic) food
Sponsor logo
CppCon
Community Sponsor
Sponsor logo
Meeting C++
Community Sponsor
Sponsor logo
C++ Online
C++Online is an online only, international C++ Conference

Members are also interested in