More about Variadic Templates ...

There is a lot of power in the strange-looking three dots that are heavily used in the Standard Template Library. Today, I visualize the expansion of the three dots and show a few use cases.

Read more
Views: 5027

Variadic Templates or the Power of Three Dots

A variadic template is a template that can have an arbitrary number of template parameters. This feature may seem magical to you if you see it the first time. So, let me demystify variadic templates.

Read more
Views: 5673

Template Instantiation

Template instantiation is the creation of a concrete function or a concrete class out of a function template or class template. The creation of template instantiation can be implicit (compiler-generated) or explicit (user-provided).

Read more
Views: 6990

And the Winners for the Five Vouchers for Stephan's Book "Clean C++20" are

I'm happy to present the five winners in this post including their answers.

Read more
Views: 2240

Performance of the Parallel STL Algorithms

I presented in my last post "Parallel Algorithms of the STL with the GCC Compiler" the necessary theory about the C++17 algorithm. Today, I make a performance test using the Microsoft compiler and the GCC compiler to answer the simple question: Does the execution policy pay off?

Read more
Views: 22985

Parallel Algorithms of the STL with the GCC Compiler

GCC supports my favorite C++17 feature: the parallel algorithms of the Standard Template Library (STL). I recognized this a few days ago, and I'm happy to write a post about it and share my enthusiasm.

Read more
Views: 14436

Five Vouchers for Stephan Roth's Book "Clean C++20" to Win

I give away five vouchers for Stephan Roth's book "Clean C++20", sponsored by the book's publisher Apress.

Read more
Views: 3162

Full Specialization of Function Templates

As you may know from my previous post Template Specialization, function template can only be full but not partial specialized. To make my long story short: Don't specialize function templates. Just use function overloading.

Read more
Views: 4955

Template Specialization - More Details About Class Templates

After I presented in my last post Template Specialization the basics about template specialization, I dig today deeper. I want to present the partial and full specialization of a class template as a compile-time if.

Read more
Views: 4608

Template Specialization

Templates define the behavior of families of classes or functions. Often it is required that special types or non-types may be treated special. To support this use case, you can specialize templates.

Read more
Views: 5029

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 335

Yesterday 7029

Week 40659

Month 107325

All 7375165

Currently are 136 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments