Hop - A Language to Design Function-Overload-Sets
Offered By: CppNow via YouTube
Course Description
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
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube