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

10 Techniques to Understand Code You Don't Know
ACCU Conference via YouTube
STL Algorithms in Less Than an Hour
ACCU Conference via YouTube
A Browse Through ES2016
ACCU Conference via YouTube
A Friendly Introduction to Rust for C++ Developers
ACCU Conference via YouTube
A Generic Talk About Go
ACCU Conference via YouTube