Completed
Hand-Written Template Specialization
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Introduction to C++ Template Metaprogramming
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Motivation: Checking Type Constraints
- 3 Motivation: Algorithm Selection
- 4 Motivation: Compile-Time Computation Some fairly complex computations can be performed ahead-of-time
- 5 Reminder: Class Template Specialization
- 6 A large collection of metafunctions that check properties of types
- 7 Type Traits and static assert
- 8 Non-Constraining Use of Traits
- 9 Member Detection with void_t
- 10 Generalized Version (Expression SFINAE)
- 11 Specializing a Template Based on Traits - There are multiple approaches, each with its merits Hand-written template specialisation
- 12 Hand-Written Template Specialization
- 13 Tag Dispatch Overload functions on a type that depends on a type tra les
- 14 distance_helper
- 15 std::enable_if
- 16 Recursive Templates
- 17 Some Simple Uses
- 18 constexpr Over Types
- 19 Compile-Time Safe printf