Главная
Study mode:
on
1
Intro
2
C++20 Big Ticket Items
3
Modules...
4
Outline of a Module
5
Module Preamble
6
What is a tuple
7
Naming emphasizes structure
8
Why is get not a member?
9
C++17 tuple Enhancments
10
C++17 Language Features
11
Fold Expressions (C++17)
12
Fold Expression Grammar
13
Generic Implementation
14
Implementing comparison in C++17
15
Basic Implementation
16
SFINAE constraints
17
Perform comparison
18
Implementing comparison in C++20
19
The TupleLike Concept
20
swap using lambda in C++20
21
swap using expansion statement in C++20
22
Expansion Statements
23
Support Structured Binding
24
Implementing operators in
25
with expansion statement
26
Final Rendering with the Spaceship Operator
27
What Can Spaceship Return?
28
Implementation Strategy 1
29
Basic Model
30
Implementing get
31
Ideal Version of wrap
32
Issues with wrap
Description:
Explore how C++20 simplifies std::tuple implementation in this ACCU 2019 conference talk. Dive into the application of new language features like Concepts, attributes, and extended syntax to create a high-performance, optimized implementation with minimal complexity. Learn about the evolution of std::tuple across C++ standards, implementation challenges, and how C++20's features combine to streamline the code. Discover techniques for generic wrapper types, comparison implementations, and the impact of fold expressions, expansion statements, and the spaceship operator. Gain insights from Alisdair Meredith, a former chair of the C++ Standard Committee Library Working Group, on leveraging C++20's capabilities to enhance tuple functionality and simplify development.

How C++20 Can Simplify std - tuple

ACCU Conference
Add to list
0:00 / 0:00