contract

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…
CLibrary

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…
fern 821293 1280

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

/
Let me continue with the rules for defining concepts in the guidelines. The first of the three remaining…
timeline

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,…
definition 390785 1280

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…
dice 3613500 1280

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…
logo

CppCon 2018

/
This was the first time I was at the CppCon, and it was an overwhelming experience for me.   Pre-conference…
roads 320371 1280

C++ Core Guidelines: Better Specific or Generic?

/
Concepts revolutionize the way we think about and use generic programming. They didn't make it in C++11…

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…
fear

C++ Core Guidelines: Type Erasure

/
The rule "T.5: Combine generic and OO techniques to amplify their strengths, not their costs"  of…