Function Templates - More Details about Explicit Template Arguments and Concepts

In the last post "Function Templates", I wrote about the overloading of function templates and automatically deducing the return type of a function template. Today, I dive deeper and specify explicitly the template arguments of a function template and bring concepts into the play.

Read more
Views: 6167

Function Templates

A function template is a family of functions. In this post, I want to dive deeper into function templates.

Read more
Views: 7256

Templates - First Steps

The idea of this post is quite simple. I want to visualize templates and, in particular, the process of template instantiation. Thanks to C++ Insights, this visualization is pretty easy.

Read more
Views: 15154

Printed Version of C++20 & Source Code on GitHub

I have two great news. First, you have my C++20 on Amazon and  second, you can download the source code on GitHub.

Read more
Views: 4278

And The Winner is: Templates

The future of C++ speaks templates, and so does my blog Modernes C++. Based on the poll of my last post "Quo Vadis - Modernes C++", my next presumably 50 - 100 posts explain the details to templates. In this post, I want to give you an idea of the upcoming posts.

Read more
Views: 6238

Quo Vadis - Modernes C++

DONE: I have written almost 100 posts about C++20. Now, I want to ask you the question: What should be my next big topic? Make your choice in this poll.

Read more
Views: 5807

Automatically Resuming a Job with Coroutines on a Separate Thread

In my last post "Starting Jobs with Coroutines", I applied co_await to start a job. In this post, I improve the workflow and automatically resume a job if necessary. In my final step, I resume the job on a separate thread.

Read more
Views: 6296

Starting Jobs with Coroutines

C++20 has three new keywords to make a coroutine out of a function: co_return, co_yield, and co_await. co_await requires an Awaitable as arguments and starts the Awaiter workflow. Let me show in this post, what that means.

Read more
Views: 8388

A Generic Data Stream with Coroutines in C++20

In my last post in this mini-series to coroutines from the practical perspective, I presented the workflow of "An Infinite Data Stream with Coroutines in C++20". In this post, I use the generic potential of the data stream.

Read more
Views: 6847

An Infinite Data Stream with Coroutines in C++20

In this post, I analyze the new keyword co_yield. Thanks to co_yield, you can create an infinite data stream in C++20.

Read more
Views: 8755

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 2922

Yesterday 5806

Week 2922

Month 172339

All 7440179

Currently are 192 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments