CppCon 2018

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

Read more
Comments 1Views: 6191

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
Add CommentViews: 4834

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
Comments 3Views: 4851

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
Add CommentViews: 16499

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

I give in this post 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
Comments 1Views: 4471

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
Add CommentViews: 3602

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
Add CommentViews: 5617

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
Comments 1Views: 2766

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
Add CommentViews: 8403

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 230

All 1247918

Currently are 170 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments