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

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

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

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

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

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

Template Argument Deduction of Class Templates

In my last post Template Arguments, I wrote about function template type deduction (C++98) and auto type deduction (C++11). Today I wear more modern hats. I start with automatic type deduction of non-type template parameters and class templates (C++17) and finish with automatic type deduction of concepts (C++20).

Read more
Views: 4415

Template Arguments

It is quite interesting how the compiler deduces the types for the template arguments. To make it short, you get most of the time the type you expect. The rules do not only apply to function templates (C++98) but also to auto (C++11), to class templates (C++17), and concepts (C++20).

Read more
Views: 4242

The New pdf Bundle is Ready: C++20 Coroutines

I have prepared the pdf bundle. To get it is quite simple.

Read more
Views: 3198

Alias Templates and Template Parameters

Today, I write about two topics: alias templates and template parameters. Alias templates are a way to give a name to a family of types. Template parameters can be types, non-types, and templates themselves.

Read more
Views: 5947

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 4144

Yesterday 8323

Week 37024

Month 110434

All 7172724

Currently are 209 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments