A presentation regarding template metaprogramming and sfinae - past, present and future.
Here it is presented at TandemG in Hebrew https://youtu.be/UibvKYw4IDA
This is a short talk regarding SFINAE and template deduction from C++11 to C++20 (and some RUST). Prior knowledge of CPP is assumed.
disclaimer: This is not a tutorial/guide. It is not written to be fully comprehensive only by reading. I use this code while talking and explaining to illustrate ideas.
New CPP abilites required for understanding later concepts
What is SFINAE, template deduction and using decltype to detect and sfinae
Type traits
enable_if, using type traits and enable if for sfinae
A small exercise to show how to use enable_if to sfinae a function
if constexper, using it instead enable_if
concepts, requires
rust and rust traits