YoVDO

Type Deduction in C++14

Offered By: CppNow via YouTube

Tags

C++Now Courses Code Efficiency Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of type deduction in C++14 through this comprehensive CppNow conference talk. Delve into various methods of naming types, including auto, auto &, auto const &, auto &&, decltype(auto), and decltype(some-expression). Learn how C++14 extends type deduction to function return types and discover when to leverage this powerful feature versus being more explicit. Examine the potential for new library designs enabled by these features, as well as associated risks. Gain insights on creating modern C++ libraries that effectively utilize type deduction without compromising readability. Cover topics such as value categories, reducing redundancy, casts, pushback and inplace back operations, auto variables, template type deduction, member functions, reference collapsing, and standard common types. Access accompanying slides for a comprehensive understanding of type deduction in C++14.

Syllabus

Introduction
Type Deduction
Types in C
Value Categories
AutoRef
Reducing Redundancy
Dont Repeat Yourself
Casts
Pushback and Inplace Back
One Argument vs Multiple Arguments
Pushback in Placeback
Auto Variables
Type Deduction vs Syntax
Return Type Deduction
Template Type Deduction
Member Functions
Type
I Will
Example
Reference collapsing
RefRef
Make Array
Make Type
Standard Common Type


Taught by

CppNow

Related Courses

Your Favorite Undefined Behavior in C++
CppNow via YouTube
Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube
Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube
Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube
Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube