Templates Made Easy with C++20 - Roth Michaels - Meeting C++ 2024 @MeetingCPP
Templates Made Easy with C++20 - Roth Michaels - Meeting C++ 2024  @MeetingCPP
Uploaded December 2024 | Updated November 2026, 35 minutes ago
Templates Made Easy with C++20 - Roth Michaels - Meeting C++ 2024
Slides: slides.meetingcpp.com
Survey: survey.meetingcpp.com

C++ templates are a powerful tool for compile-time programming, generic programming, and metaprogramming. Historically many of these techniques have been considered advanced techniques or even arcane-magic by many C++ developers. Complex error messages and concepts like SFINAE being hard to teach can leave use of C++ templates out of reach—if you don’t know what SFINAE, come to this talk and find out what it is and why you might not need to use it anymore.


With C++17/20, constexpr, consteval, concepts, and fold expressions can change the way we teach a write C++ for compile-time programming, generic programming, and metaprogramming. This talk will cover these new C++ features and show how they change the templated C++ one would have written in the past.


To demonstrate how to use and write concepts, we will look at some examples based on production GUI and DSP library code that can be simplified to be easier to write and understand by adopting C++20 concepts combined with constexpr/consteval and fold expressions.


See lessons learned by teams that have moved to C++20 and started using concepts, and how your teams could benefit from these features in the latest C++ standards.
Templates Made Easy with C++20 - Roth Michaels - Meeting C++ 2024Asynchronous Programming with C++ - book review with the authorsMeeting C++ Student Showcase presentationsThe real problem of C++ - Klaus Iglberger - Meeting C++ 2025C++23: using std::generator in practice - Nicolai Josuttis - Meeting C++ 2025Mastering C++ Game Animation Programming - Book review with Author Michael DunskyC++ Memory Management - an Interview with Patrice RoyClasses C++23 Style - Sebastian Theophil - Meeting C++ 2024Upcoming C++ trainings by Meeting C++Interview with Guy Davidson - the new ISO C++ convenerCelebrating 14 years of Meeting C++: Meeting C++ and C++ User GroupsInterview with Klaus Iglberger for Meeting C++ 2025
Meeting Cpp |

Templates Made Easy with C++20 - Roth Michaels - Meeting C++ 2024

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER