CppCon 2018

This was the first time I was at the CppCon, and it was an overwhelming experience for me.

Read more
Views: 14758

C++ Core Guidelines: Better Specific or Generic?

Concepts revolutionise the way we think about and use generic programming. They didn't make it in C++11, or C++17 but with C++20 we will get them with high probability.

Read more
Views: 12556

C++ Core Guidelines: Type Erasure with Templates

In the last post C++ Core Guidelines: Type Erasure, I presented two ways to implement type erasure: void pointers and object-orientation. In this post, I bridge dynamic polymorphism (object-orientation) with static polymorphism (templates) to get type erasure with templates.

Read more
Views: 32774

C++ Core Guidelines: Type Erasure

Rule "T.5: Combine generic and OO techniques to amplify their strengths, not their costs"  of the core guidelines to generic programming uses type erasure as an example. Type erasure? Really! Of course, it takes me two posts to explain this advanced template technique.

Read more
Views: 56538

C++ Core Guidelines: Rules for Templates and Generic Programming

I this post I give an introduction to the rules for generic programming in C++. Generic programming is from my point of view the outstanding feature and the future of C++. Hence it follows, that this and the upcoming posts are about the future of C++.

Read more
Tags: templates
Views: 35497

C++ Core Guidelines: Rules for Constants and Immutability

Making objects or methods const has two benefits. First, the compiler will complain when you break the contract. Second, you tell the user of the interface that the function will not modify the arguments.

Read more
Views: 23568

C++ Core Gudelines: goto considered Evil

If you can't throw an exception and can't use final_action (finally) from the guideline support library, you have a problem. Exceptional states require exceptional actions: goto. Really?

Read more
Views: 10514

The new pdf bundle is ready: C++ Core Guidelines - Concurrency and Parallelism

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

Read more
Views: 9450

C++ Core Guidelines: finally in C++

To make my point clear, this post is about the exceptional case that you can not throw an exception. If your program runs in a restricted embedded environment or you have to fulfil a hard-real-time requirement, this situation may be not so exceptional to you.

Read more
Views: 31177

For Free: Four Vouchers to Win

Bartłomiej Filipek, author of the well-known C++-blog: Bartek's coding blog gave me four vouchers for his book C++ in Detail.

Read more
Views: 6298

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

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 907

Yesterday 8453

Week 9360

Month 163955

All 4784849

Currently are 248 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments