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

YouTube

SwitchAny - A Practical Exercise in Template Metaprogramming

CppNow via YouTube

Overview

Explore a practical application of template metaprogramming in C++ through the development of switchAny, a tool for dispatching code based on types held in Boost.Any containers. Delve into advanced template metaprogramming techniques, including those made possible by C++14 and C++1z, as Sebastian Redl guides you through this real-world example. Learn how to move beyond basic compile-time calculations and apply template metaprogramming to solve practical problems in C++ development. Gain insights into the implementation details and access the accompanying GitHub repository for hands-on exploration of the switchAny tool.

Syllabus

Sebastian Redl: switchAny: A Practical Exercise in Template Metaprogramming

Taught by

CppNow

Reviews

Start your review of SwitchAny - A Practical Exercise in Template Metaprogramming

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.