Back to Basics: Templates (part 1 of 2) - Andreas Fertig - CppCon 2020
PART 2: • Back to Basics: Templates (part 2 of 2) - ... https://cppcon.org/ https://github.com/CppCon/CppCon2020/... --- Template Basics This talk is a two-parter. In the first part we start with the question what is generic programming. I then will introduce the different kinds of templates: function, class and method templates. We will walk through how to write and apply. Along with that we distinguish the different types of template parameters type, and non-type using std::array as an illustration. This is accompanied by a peak behind the scenes by using C++ Insights. This should also give you a valuable tool where you can checkout details for yourself. At this point we look at alias templates and how they can help us. Once we covered the basics, we take care that our templates do not bloat the code. For that we use an example of passing an array and a length and optimize this. While on that, we consider at type_traits and incorporate them in our solution. With type_traits we use constexpr if for conditional compile-time code paths. This session is for developers with C++ experience who have avoided templates so far. After attending this talk, attendees have learned to think in types rather than in values and can write their own templates. --- Andreas Fertig Unique Code Andreas Fertig is the CEO of Unique Code GmbH, which offers training and consulting for C++ specialized in embedded systems. He worked for Philips Medizin Systeme GmbH for ten years as a C++ software developer and architect focusing on embedded systems. Andreas is involved in the C ++ standardization committee. He is a regular speaker at conferences internationally. Textbooks and articles by Andreas are available in German and English. Andreas has a passion for teaching people how C++ works, which is why he created C++ Insights (cppinsights.io). --- Work at Hudson River Trading (HRT): https://tinyurl.com/safxfctf --- Streamed & Edited by Digital Medium Ltd - [email protected] *-----* Register Now For CppCon 2022: https://cppcon.org/registration/ *-----*

Back to Basics: Templates (part 2 of 2) - Andreas Fertig - CppCon 2020

Back to Basics: Templates in C++ - Nicolai Josuttis - CppCon 2022

Back to Basics: Type Erasure - Arthur O'Dwyer - CppCon 2019

Back to Basics: Concurrency - Arthur O'Dwyer - CppCon 2020

Back to Basics: Move Semantics - Nicolai Josuttis - CppCon 2021

Object Oriented Programming | OOPS in Python | OOPS Tutorial | Intellipaat

Simple Code, High Performance

Test Driven C++ - Phil Nash - CppCon 2020

Back to Basics: Function and Class Templates - Dan Saks - CppCon 2019

Back to Basics: Move Semantics (part 1 of 2) - Klaus Iglberger - CppCon 2019

ASP.NET Core Full Course For Beginners (.NET 10)

Linux Full Course for Beginners | Learn Linux System Administration

Back to Basics: Designing Classes (part 1 of 2) - Klaus Iglberger - CppCon 2021

Go Programming - Full Course

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

Back to Basics: Designing Classes (part 2 of 2) - Klaus Iglberger - CppCon 2021

Workshop Preview Safe and Efficient C++ for Embedded Environments

The Hidden Secrets of Move Semantics - Nicolai Josuttis - CppCon 2020

CMake, CPS and Conan: The path to standardized dependency management for C and C++

