Variadic Expansion in Examples
Offered By: CppNow via YouTube
Course Description
Overview
Explore the power and versatility of variadic templates in C++ through this comprehensive conference talk from CppNow. Delve into the intricacies of parameter pack expansion and its various applications, particularly as a code generation tool. Begin with an introduction to variadic templates, covering basic syntax and common techniques. Progress to advanced topics, including unpacking tuples into function calls using std::integer_sequence and leveraging empty packs for simplified enable_if usage. Examine practical examples demonstrating how to invoke expressions for each argument in a pack and dispatch to appropriate code versions based on runtime values. Gain insights into creating more flexible and generic C++ libraries that can easily accommodate custom user-defined types. Access accompanying slides for visual reference and deeper understanding of the concepts presented.
Syllabus
MichaĆ Dominiak: Variadic expansion in examples
Taught by
CppNow
Related Courses
Advanced Java ProgrammingUdemy Scala Type Classes and Parameterization
Pluralsight Random Variables as Types - Lecture 11
The Julia Programming Language via YouTube Hands-on With Dynamic Dispatch Traits in Rust - Rust Tutorial for Developers
Trevor Sullivan via YouTube IEnumerable and IEnumerator Interfaces in C#
tutorialsEU via YouTube