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
Vector-Dynamic Array - Making Data Structures in C++The Cherno via YouTube C++ Insights - See Your Source Code with the Eyes of a Compiler
NDC Conferences via YouTube C++ Insights - How Stuff Works, Lambdas and More
CppNow via YouTube Generative Programming in Action - Emulating the 3DS
CppNow via YouTube The Problem with Cutting Edge C++
CppNow via YouTube