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

Sane and Safe C++ Class Types
NDC Conferences via YouTube
Constexpr ALL the Things!
CppNow via YouTube
Goodbye Metaprogramming, and Hello Functional
CppNow via YouTube
Constexpr - C++ At Compile Time
CppNow via YouTube
C++11 - New Tools for Class and Library Authors
CppNow via YouTube