Главная
Study mode:
on
1
Introduction
2
Trailing Return Types
3
Decotype
4
Use Cases
5
Auto Return
6
Template parameter type deduction
7
Conversion operator
8
Syntax limitations
9
Decotype Auto
10
Decorating Auto
11
Half Interval
12
Mutex Lock
13
Pitfalls
14
Documentation
15
Mitigation Strategy
16
recursive factorial
17
two different templates
18
you get the fallback
19
use it with caution
20
Questions
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Explore the advantages and potential pitfalls of trailing return types and `auto` return in modern C++ in this CppCon 2022 conference talk by Pablo Halpern. Learn about the syntax, restrictions, and use cases for these features, including their application in function templates and lambda expressions. Discover how to leverage these language elements to improve code clarity and convenience while avoiding common mistakes that can lead to readability issues and latent bugs. Gain insights into the relationship between trailing return types and automatically deduced return types, and understand when and how to use them effectively in your C++ projects.

Embracing Trailing Return Types and Auto Return in Modern C++ - CppCon 2022

CppCon
Add to list