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. Why? Let me explain it in this post.

Read more
Add CommentViews: 8195

C++ Core Guidelines: std::array and std::vector are your Friends

In 99 % of your use-cases for a sequential container, you are totally fine with a std::array or a std::vector. What? If you don't believe me, read this post.

Read more
Add CommentViews: 32884

C++ Core Guidelines: The Standard Library

The rules to the C++ standard library are mainly about containers, strings, and iostreams.

Read more
Add CommentViews: 11427

C++20: More Details to Modules

 My last post gave you the introduction to modules in C++20. This post shows, how to use existing modules.

Read more
Add CommentViews: 18403

C++20: Modules

Modules is one of the five prominent features of C++20. Modules will overcome the restrictions of header files. They promise a lot. For example, the separation of header and source files becomes as obsolete as the preprocessor. In the end, we will also have faster build times and an easier way to build packages.

Read more
Add CommentViews: 50630

C++ Core Guidelines: The Remaining Rules to Source Files

Today, I complete the rules of the C++ core guidelines to source files. They are about header files and namespaces.

Read more
Add CommentViews: 6875

C++ Core Guidelines: Source Files

The organisation of source files is a topic which is quite seldom addressed in C++. With C++20 we will get modules, but until then we should distinguish between the implementation and the interface of our code.

Read more
Comments 2Views: 9731

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.

Read more
Add CommentViews: 5670

C++ Insights - Lambdas

Honestly, many programmers in my classes have issues with the syntactic sugar of lambdas. Desugaring lambdas with C++ Insights helps quite often.

Read more
Tags: lambdas
Add CommentViews: 10017

C++ Insights - Variadic Templates

Variadic templates are a C++ feature which looks quite magic the first time you see it. Thanks to C++ Insights, most of the magic disappears. 

Read more
Tags: templates
Add CommentViews: 17206

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)

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 3972

All 2925643

Currently are 145 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments