Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Enough TMP to Write a Variant - Template Meta Programming Techniques

Meeting Cpp via YouTube

Overview

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

Reviews

Start your review of Enough TMP to Write a Variant - Template Meta Programming Techniques

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.