constexpr

constexpr Functions

/
Today, I continue my story about programming at compile time. After template metaprogramming, the type-traits…
templatesTypeTraits

The Type-Traits Library: Optimization

/
The type-traits library has two main goals: correctness and optimization. Today, I write about optimization. This…
templatesTypeTraits

The Type-Traits Library: Correctness

/
The two main goals of the type-traits library are compelling: correctness and optimization. Today, I…
templatesTypeTraits

The Type-Traits Library: std::is_base_of

/
I finished the last article on the Type-Traits library with the challenge of explaining the std::is_base_of…
templatesTypeTraits

The Type-Traits Library: Type Comparisons

/
In my last post, "The Type-Traits Library: Type Checks" I introduced type checks at compile time with…
templatesTypeTraits

The Type-Traits Library: Type Checks

/
The type-traits library is part of C++11 and supports type checks, type comparisons, and type modifications…
TemplateMetaprogramming

Template Metaprogramming – Hybrid Programming

/
First of all, hybrid programming is not an official term. I created it to emphasize an exciting aspect…
TemplateMetaprogramming

Template Metaprogramming – How it Works

/
In my last post, "Template Metaprogramming - How it All Started", I wrote about the roots of template…
TemplateMetaprogramming

Template Metaprogramming – How it All Started

/
Metaprogramming is programming on programs. C++ applies metaprogramming at compile time. It started in…
AutomaticReturnType

Automatic Return Type (C++11/14/20)

/
I started my discussion about the  "Automatic Return Type (C++98)" in my last post. Today, I'm faced…