Power BI Fundamentals - Create visualizations and dashboards from scratch
NY State-Licensed Certificates in Design, Coding & AI — Online
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This course explains C++17 class template argument deduction and its interaction with the standard library and custom classes. It covers user-defined deduction guides, language rules, and pitfalls such as surprising or unsafe deductions.
Syllabus
Intro
template argument deduction in C++98
vector
pitfall!
magic!
trap #1: the order matters
trap #2: list-initialisation has priority
sequence containers
map
locks & mutexes
example with no arguments
other STL classes...
smart pointers
how to disable CTAD
type identity idiom
member typedef
templated ctor
std: function
deduction guides SFINAE
aggregates need explicit guides
CTAD uses the primary template
CTAD not just in declarations!
no CTAD in nested types
CTAD + smart pointer conversions
Taught by
ACCU Conference