Template Metaprogramming: Type Traits (part 1 of 2) - Jody Hagins - CppCon 2020

Published: 01 January 1970
on channel: CppCon
66,985
1.3k

PART 2:    • Template Metaprogramming: Type Traits...  

https://cppcon.org/
https://github.com/CppCon/CppCon2020/...
---
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.digital-medium.co.uk
[email protected]

*-----*
Register Now For CppCon 2022: https://cppcon.org/registration/
*-----*


Watch video Template Metaprogramming: Type Traits (part 1 of 2) - Jody Hagins - CppCon 2020 online, duration hours minute second in high quality that is uploaded to the channel CppCon 01 January 1970. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 66,985 times and liked it 1.3 thousand visitors.