C++ Core Guidelines: Surprises with Argument-Dependent Lookup

There is, in particular, one rule left to template interfaces which is quite interesting: T.47: Avoid highly visible unconstrained templates with common names. Admittedly, the rule T47 is often the reason for unexpected behaviour because the wrong function is called.

Read more
Add CommentViews: 2315

C++ Core Guidelines: Regular and SemiRegular Types

The topic for today is quite important when you create your type: Regular and SemiRegular types.

Read more
Add CommentViews: 3104

Meeting Embedded and Meeting C++ 2018

Last week I was at two conferences in Berlin: Meeting Embedded and Meeting C++. Here are my impressions from both conferences.

Read more
Add CommentViews: 3414

C++ Core Guidelines: Template Interfaces

This post is about template interfaces which are due to the C++ core guidelines: "...a critical concept", because a template interface is "a contract between a user and an implementer - and should be carefully designed.".

Read more
Add CommentViews: 5138

C++ Core Guidelines: Pass Function Objects as Operations

An interface is a contract between a user and an implementer and should, therefore, be written with great care. This holds also true if you pass an operation as argument.

Read more
Add CommentViews: 5497

I'm Proud to Present: The C++ Standard Library including C++14 & C++17

Based on my book "The C++ Standard Library" educative.io created an interactive course. You can have it now at a discount.

"C++ Standard Library including C++14 & C++17" is a interactive journey through the current C++ standard Library.

Read more
Add CommentViews: 4554

C++ Core Guidelines: Definition of Concepts, the Second

Let me continue with the rules for defining concepts in the guidelines. In this post, the first of the three remaining rules is quite sophisticated.

Read more
Add CommentViews: 5769

A new Thread with C++20: std::jthread

One of the participants in my CppCon 2018 workshop asked me: "Can a std::thread be interrupted?". No, was my answer but this is not correct anymore. With C++20 we might get a std::jthread.

Read more
Add CommentViews: 11395

C++ Core Guidelines: Rules for the Definition of Concepts

Although rule T.11 states: Whenever possible use standard concepts you sometimes have to define your concepts. This post gives you rules to do it.

Read more
Add CommentViews: 5704

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 1565

All 1396920

Currently are 146 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments