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

YouTube

Implementing Variant Visitation Using Lambdas

CppNow via YouTube

Overview

Explore the implementation of lambda-based visitation for std::variant in C++17 through this comprehensive conference talk. Delve into the concept of type-safe sum types and their usefulness in modern C++ programming. Learn how to create more elegant and user-friendly interfaces for variant visitation using lambda functions. Discover techniques for overloading arbitrary function objects and implementing zero-runtime-overhead lambda recursion with the Y combinator. Gain insights into handling recursive variant types and applying lambda-based visitation to them. Suitable for developers familiar with C++11 and C++14 core language features, this talk provides a deep dive into advanced C++ concepts and techniques for working with variants.

Syllabus

C++Now 2017: Vittorio Romeo “Implementing `variant` visitation using lambdas"

Taught by

CppNow

Reviews

Start your review of Implementing Variant Visitation Using Lambdas

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.