Honestly, many programmers in my classes have issues with the syntactic sugar of lambdas. Desugaring lambdas with C++ Insights helps quite often.
Variadic templates are a C++ feature which looks quite magic the first time you see it. Thanks to C++ Insights, most of the magic disappears.
Today's post from Andreas is about template instantiation. C++ Insights helps you a lot to get a deeper insight into this automatic process.
Andreas Fertigs story with C++ Insights goes on. This weeks post is about type deduction with auto and decltype or as I often phrase it: "Use the smartness of the compiler."
Now, it's time to choose the next pdf bundle? You will get all posts, all source files, and a cmake file to the chosen topic.
I'm totally happy to announce that this post starts a series of posts to C++ Insights. C++ Insights is an awesome tool which I use heavily in my posts and in my classes to show the magic of the C++ compiler.
Due to the same history of C and C++, both languages are closely related. Because neither of them is a subset of the other, you have to know a few rules to mix them.
I assume you saw the additional keywords typename or template used before a name in a template. Me too. Honestly, I was quite surprised. Today's post is about dependent names and various template parameters.
I often teach the basics to templates. Templates are special. Therefore, I encounter many misconceptions which cause surprises. Here are a few of them.
Today, I finish the C++ core guidelines rules to templates with a big surprise for many C++ developers. I write about the specialisation of function templates.
Currently are 227 guests and no members online
Kubik-Rubik Joomla! Extensions