YoVDO

Enough TMP to Write a Variant - Template Meta Programming Techniques

Offered By: Meeting Cpp via YouTube

Tags

C++ Courses Unions Courses Constexpr Courses SFINAE Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the intricacies of Template Meta Programming (TMP) through the lens of implementing a variant in this 41-minute conference talk from Meeting C++ 2022. Dive into the often-overlooked challenges of variant implementation, including multiple-dispatch, return type deduction, SFINAE, noexcept, and constexpr support. Suitable for both TMP novices and experienced programmers, gain valuable insights into modern C++ implementation techniques and compare them to earlier, more complex approaches. Learn about key concepts such as what a variant is, integer lists, type by index, instance of, forward union, and switch implementation. Discover how to make your code more concept-friendly and handle edge cases effectively.

Syllabus

Introduction
What is Variant
Library
Integer List
Type by Index
Instance off
Forward
Union
Switch
Implementation
Concept Friendly
One Case


Taught by

Meeting Cpp

Related Courses

Boost.TMP - Your DSL for Metaprogramming
CppNow via YouTube
The Detection Idiom - A Better Way to SFINAE
CppNow via YouTube
Introduction to Modern C++ Techniques - Part II
CppNow via YouTube
Introduction to Modern C++ Techniques - Part I
CppNow via YouTube
Boost.tmp - Your DSL for Metaprogramming - Part 2 of 2
code::dive conference via YouTube