
Автор: Andreas Fertig
Издательство: Leanpub
Год: 2021-01-15
Страниц: 103
Язык: английский
Формат: pdf (true), epub, mobi
Размер: 10.1 MB
Did you always wonder how certain pieces of C++ code work and how you can apply the technique to your code? What can you do with decltype beyond the usual type deduction? Then have a look into Tips and Tricks with templates, which is part of the brand new Notebook C++ series. This book is part of a series which is called Notebook C++. The idea is that most of us have some kind of rules about do's and don'ts or tips and tricks to keep in mind. It is probably one of the most frequent questions I get during training classes. I have such a list too. In this series, I will publish mine. My idea is to create multiple short books (ok what is the number of pages required to call it a book or short?) about various topics. I currently plan to share tips about templates (this book), lambdas, and trap-like situations like dangling references. There will probably be more.