thread 2995466 1280

C++ Core Guidelines: Rules for Strings

/
The C++ core guidelines use the term string as a sequence of characters. Consequently, the guidelines…
brno 2783268 1280

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…
book 159880 1280

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.…
rules 1752626 1280

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.…
iso 154533 1280

C++ Core Guidelines: The Standard Library

/
The rules to the C++ standard library are mainly about containers, strings, and iostreams. Curiously,…
boxes 2624231 1280

More Details to Modules

/
 My last post gave you an introduction to modules in C++20. This post shows how to use existing…
graphic 3578346 1280

Modules

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

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

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…
serial 160834 1280

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,…
05 lambdas

C++ Insights – Lambdas

/
Honestly, many programmers in my classes have issues with the syntactic sugar of lambdas. Desugaring…
04 variadic templates

C++ Insights – Variadic Templates

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