optical illusion 311130 1280

Types-, Non-Types, and Templates as Template Parameters

I assume you saw the additional keywords typename or template used before a name in a template. Me too.…
santa claus 2927962 1280

Templates: Misconceptions and Surprises

I often teach the basics of templates. Templates are special. Therefore, I encounter many misconceptions…
animal 1821737 1280

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.…
maki 3295891 1280

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…