Taming the Filter View - Nicolai Josuttis

  Рет қаралды 411

Using std::cpp

Using std::cpp

Күн бұрын

Filtering the elements of a collection is one of the most important applications of dealing with ranges and views.
Unfortunately, the filter view (available since C++20) is one of the most surprising C++ standard views. Even with simple use cases you can easily have:
Unexpected functional behavior
Surprising compile-time errors with cryptic error messages
Fatal runtime errors (without even noticing them)
There are (more or less) good reasons for the design of the filter view. However, for a successful filtering of elements knowing all these pitfalls is key.
Listen and learn things you would not expect but have to know when using the filter views and views in general.
The talk will demonstrate all the issues with simple real-work examples and also explain the (more or less wise) motivation for the design.

Пікірлер
What we’ve been awaiting for    Hana Dusíková
59:09
Using std::cpp
Рет қаралды 471
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,2 МЛН
Creative Justice at the Checkout: Bananas and Eggs Showdown #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 34 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 32 МЛН
Oliver Medhurst - Compiling JavaScript ahead-of-time
15:16
London Web Standards
Рет қаралды 482
Perfect Hashing in an Imperfect World  - Joaquín M. López Muñoz
45:14
Compile time reflections   Kris Jusiak
49:25
Using std::cpp
Рет қаралды 410
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН