YoVDO

Implementing Variant Visitation Using Lambdas

Offered By: ACCU Conference via YouTube

Tags

ACCU Conference Courses C++ Courses Benchmarking Courses Lambda Functions Courses std::variant Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the implementation of variant visitation using lambdas in C++17 through this comprehensive ACCU 2017 conference talk. Delve into the intricacies of std::variant and its role as a type-safe sum type in the STL. Learn about traditional and lambda-based visitation techniques for both non-recursive and recursive variants. Discover how to create an "overload set" generator and implement a "Y-Combinator" for recursive visitation. Gain insights into callable object arity deduction techniques to enhance user interface elegance. Suitable for developers familiar with C++11 and C++14 core language features, this talk covers topics such as variant types, visitation techniques, overload sets, recursive variants, and grammar constructors.

Syllabus

Introduction
Variants
Unions
Recap
Variant Types
Visitation Techniques
Variant Recap
Traditional Visitation
Lambda Visitation
Overload Set
Improvements
Constructors
Overload Function
Static assert
Implementing match
Summary
Recursive
Grammar
Constructor
recursive variants
recursive visitation


Taught by

ACCU Conference

Related Courses

Computer Graphics
University of California, San Diego via edX
Intro to Parallel Programming
Nvidia via Udacity
Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera