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

YouTube

Hop - A Language to Design Function-Overload-Sets

CppNow via YouTube

Overview

Explore a comprehensive conference talk from CppNow 2021 that introduces hop, a Domain-Specific Embedded Language (DSEL) for designing complex function-overload-sets in C++. Dive into advanced techniques for creating homogeneous variadic functions, overloads with trailing and non-trailing default arguments, and alternatives to preprocessor-based function overloading. Learn about overload resolution, implicit conversion, concepts, and various building blocks for function parameters. Discover type generators, repetition techniques, sequencing, and alternatives in function design. Gain insights into defaulted parameters, forwarding parameters, template argument deduction, and adapting existing functions. Examine practical examples, local type deduction, and small type forwarding to enhance your C++ programming skills.

Syllabus

Intro
Outline
Blitz
C
Homogeneous Function Parameters
Overload Resolution Implicit Conversion
Concepts
Steps
Interface
Overload Resolution
Enable Function
Bible Types
Repeatable Typelists
Single Function
Test Function
Variant
Demo
FunctionParameter Building Blocks
Type Generators
Repetition
Sequencing and Alternatives
defaulted parameters
forwarding parameters
template argument deduction
adapt existing functions
check types
examples
local type deduction
small type forwarding
recap
how to do it

Taught by

CppNow

Reviews

Start your review of Hop - A Language to Design Function-Overload-Sets

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.