
And the Winners for the Seven Vouchers for Fedor’s Book “The Art of Writing Efficient Programs” are
/
0 Comments
I'm happy to present the seven winners in this post including their answers.
Strange Packt Behavior
First,…

The Type-Traits Library: Type Checks
The type-traits library is part of C++11 and supports type checks, type comparisons, and type modifications…

Template Metaprogramming – Hybrid Programming
First of all, hybrid programming is not an official term. I created it to emphasize an exciting aspect…

Seven Voucher for Fedor G. Pikus Book “The Art of Writing Efficient Programs”
I'm happy to announce that I have to offer five vouchers for a digital and two vouchers for a printed…

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

Template Metaprogramming – How it All Started
Metaprogramming is programming on programs. C++ applies metaprogramming at compile time. It started in…

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…

Automatic Return Type (C++98)
Depending on the used C++ standard, there are different ways to return the correct return type of a function…

Dependent Names
A dependent name is essentially a name that depends on a template parameter. A dependent name can be…

The Special Friendship of Templates
A friend has unrestricted access to the members of a class. Consequently, friendship should be given…

Visiting a std::variant with the Overload Pattern
Typically, you use the overload pattern for a std::variant. std::variant is a type-safe union. A std::variant…

Smart Tricks with Parameter Packs and Fold Expressions
To complete my post about variadic templates and fold expressions, I present in this post smart tricks…