Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
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.
Enough TMP to Write a Variant - Template Meta Programming Techniques