Variadic Templates

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 using parameter packs and fold expressions.

Read more
Views: 32933

From Variadic Templates to Fold Expressions

In my last two posts, "Variadic Templates or the Power of Three Dots" and "More about Variadic Templates", I introduced variadic templates. This post goes one step further in the future, and presents fold expressions that can directly reduce a parameter pack with a binary operator. 

Read more
Views: 19976

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: 20095

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 for the first time. So, let me demystify variadic templates.

Read more
Views: 28595

C++ Core Guidelines: Rules for Variadic Templates

Variadic templates are a typical feature of C++: from the user's perspective, they are easy to use, but from the implementor's perspective, they look pretty scary. Today's post is mainly about the implementor's perspective.

Read more
Views: 86101

Stay Informed about my Mentoring

 

Mentoring

English 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

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

Course: Master Software Design Patterns and Architecture in C++

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 4657

Yesterday 6193

Week 10850

Month 32524

All 12110733

Currently are 197 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments