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
Tags: templates
Views: 17165

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
Views: 15622

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
Views: 17453

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
Tags: templates
Views: 31763

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 an argument.

Read more
Views: 17106

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
Views: 11374

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
Views: 13749

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
Views: 75211

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
Views: 11212

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

We will get concepts with high probability in C++20. Here are the rules from the C++ core guidelines to use them.

Read more
Views: 28299

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 2537

Yesterday 5163

Week 47694

Month 202289

All 4823183

Currently are 121 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments