Types-, Non-Types, and Templates as Template Parameters
/
0 Comments
I assume you saw the additional keywords typename or template used before a name in a template. Me too.…
Templates: Misconceptions and Surprises
I often teach the basics of templates. Templates are special. Therefore, I encounter many misconceptions…
C++ Core Guidelines: Surprise included with the Specialisation of Function Templates
Today, I finish the C++ core guidelines rules to templates with a big surprise for many C++ developers.…
C++ Core Guidelines: Other Template Rules
Today, I write about the few remaining rules to templates. Because a collective name is missing, they…
C++ Core Guidelines: Programming at Compile Time with constexpr
My mini-series about programming at compile time started with template metaprogramming, continued with…