filmov
tv
C++ Class Template Argument Deduction - History, Uses, & Enabling it for Classes - Marshall Clow
![preview_player](https://i.ytimg.com/vi/EPfPMW-rOtc/maxresdefault.jpg)
Показать описание
---
C++ Class Template Argument Deduction - History, How to Use it, and How to Enable it for Your Classes - Marshall Clow - CppCon 2022
In C++17, a new feature "Class Template Argument Deduction" (CTAD for short) was added to the language.
In this talk, I will show the rationale for this feature, how you can use it in your code, explain how it works and give examples of how to enable it for your classes.
I'll answer questions like:
* Why did the committee add this feature to the language?
* Why "class template argument deduction"? Why not just "template argument deduction"?
* What is a deduction guide?
* What can be done in a deduction guide?
* How do I write my own deduction guides?
* What tools are there for debugging deduction guides?
I will also talk about enhancements since C++17, and possible future directions.
---
Marshall Clow
Marshall has been coding for 40+ years; he was the lead developer on libc++ for 10 years, and the chairman of the Library working group of the C++ standards committee for 5 years. These days, he spends his time looking at "interesting problems"
---
#cppcon #programming #cpp
C++ Class Template Argument Deduction - History, How to Use it, and How to Enable it for Your Classes - Marshall Clow - CppCon 2022
In C++17, a new feature "Class Template Argument Deduction" (CTAD for short) was added to the language.
In this talk, I will show the rationale for this feature, how you can use it in your code, explain how it works and give examples of how to enable it for your classes.
I'll answer questions like:
* Why did the committee add this feature to the language?
* Why "class template argument deduction"? Why not just "template argument deduction"?
* What is a deduction guide?
* What can be done in a deduction guide?
* How do I write my own deduction guides?
* What tools are there for debugging deduction guides?
I will also talk about enhancements since C++17, and possible future directions.
---
Marshall Clow
Marshall has been coding for 40+ years; he was the lead developer on libc++ for 10 years, and the chairman of the Library working group of the C++ standards committee for 5 years. These days, he spends his time looking at "interesting problems"
---
#cppcon #programming #cpp
C++ Insights - Episode 33: C++17's Class Template Argument Deduction
C++ Weekly - Ep 38 - C++17's Class Template Argument Type Deduction
C++ Class Template Argument Deduction - History, Uses, & Enabling it for Classes - Marshall Clo...
Class Template Argument Deduction in C++17 - Timur Doumler [ACCU 2018]
CppCon 2018: Stephan T. Lavavej “Class Template Argument Deduction for Everyone”
CppCon 2017: Zhihao Yuan “Class Template Argument Deduction: A New Abstraction”
Class Template Argument Deduction
CppCon 2018: Timur Doumler “Class template argument deduction in C++17”
Improving Readability With Class Template Argument Deduction - A.J. Orians [ C++ on Sea 2020 ]
CppCon 2017: Mike Spertis “Constructor Template Argument Deduction Best Practices”
CTAD: Complete Guide to Class Template Argument Deduction - Nina Ranns - ACCU 2024
Generics in C++ 9 - Class Template Argument Deduction (CTAD) | Modern Cpp Series Ep. 79
Class Template Type Deduction from Constructor - Learn Modern C++
C++17 template argument type deduction for class templates
C++ : Class template argument deduction for template type which is itself an argument for a template
C++ : Template argument deduction for class templates in C++17: am I doing it wrong?
15 - Class Template Argument Deduction Guide and Variadic Template Parameter
13 - Class Template Parameter (Argument) Type Deduction Guide - Break Tie
C++ : Is std::make_move_iterator redundant since C++17's class template argument deduction?
C++ : Can C++17's 'template argument deduction' for class templates deduce local type...
C++ : Template argument deduction
C++ : Class Template Argument Deduction in member variables
C++ : Partial class template argument deduction in C++17
C++ : g++ c++17 class template argument deduction not working in a very specific case
Комментарии