Template Metaprogramming: Type Traits (part 2 of 2) - Jody Hagins - CppCon 2020
Watch Part 1:
---
PART 2/2 - This talk experienced some latency issues, but the slides and audio are mostly unaffected.
Template metaprogramming is a vast subject, but there are a small number of basic fundamental idioms that are used over and over. Mastery of these idioms will help in reading, writing, and using modern C code. The type traits that come as part of the standard library are incredibly useful, but at times can be thought of as some form of dark magic.
In this tutorial, we will explore some of the fundamental idioms of template metaprogramming by implementing a good portion of the type traits from the standard library. In so doing, attendees will come away with a solid understanding of how to apply the fundamental template metaprogramming idioms to solve problems including, but not limited to, standard type traits.
---
Jody Hagins first compiled “C “ code in 1984, and wrote a specialized LisP editor using Zortech C for senior project in 1988. However, he didn’t truly start programming in C until 1992, when he read The Greatest C Book Ever Written, “Advanced C Programming Styles and Idioms“ by Jim Coplien. That book, combined with cfront, which generated C code from C source, gave him the joyful task of writing SVr4 Streams drivers in C . Ever since, he has been hooked on writing C code for kernel modules, large telephony applications, and, since the late 1990s, applications in what is now known as the high frequency trading industry.
---
Streamed & Edited by Digital Medium Ltd -
events@
*-----*
Register Now For CppCon 2022:
*-----*
1 view
79
19
9 months ago 00:59:12 1
Template Metaprogramming: Type Traits (part 2 of 2) - Jody Hagins - CppCon 2020
9 months ago 01:00:01 1
Template Metaprogramming: Type Traits (part 1 of 2) - Jody Hagins - CppCon 2020
1 year ago 00:50:01 3
Mike Shah :: Running Away From Computation - An Introduction
1 year ago 01:16:14 1
Polymorphism, Cohesion, and Coupling in C++ - Jody Hagins - C++ on Sea 2023
2 years ago 01:33:55 1
C++ lectures at MIPT (in Russian). Lecture 16. Metaprogramming