
C++ Core Guidelines: Rules for Strings
/
0 Comments
The C++ core guidelines use the term string as a sequence of characters. Consequently, the guidelines…

C++ Core Guidelines: Avoid Bounds Errors
When you access an element outside a container of the STL, the result is not so promising. Your effect…

More special Friends with std::map and std::unordered_map
Modern C++ has eight associative containers, but your special friends should be std::map and std::unordered_map.…

C++ Core Guidelines: std::array and std::vector are your Friends
In 99 % of your use cases for a sequential container, you are outstanding with a std::array or a std::vector.…

C++ Core Guidelines: The Standard Library
The rules to the C++ standard library are mainly about containers, strings, and iostreams.
Curiously,…

More Details to Modules
My last post gave you an introduction to modules in C++20. This post shows how to use existing…

Modules
Modules are one of the five prominent features of C++20. Modules will overcome the restrictions of header…

C++ Core Guidelines: The Remaining Rules about Source Files
Today, I complet the rules of the C++ core guidelines to source files. They are about header files and…

The new pdf bundle is available: C++ Core Guidlines – Templates and Generic Programming
I have prepared the pdf bundle. To get it is quite simple.
If you subscribe to the newsletter, you…

C++ Core Guidelines: Source Files
The organization of source files is a topic quite seldom addressed in C++. With C++20, we will get modules,…

C++ Insights – Lambdas
Honestly, many programmers in my classes have issues with the syntactic sugar of lambdas. Desugaring…

C++ Insights – Variadic Templates
Variadic templates are a C++ feature that looks quite magic the first time you see them. Thanks to C++…