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

C++ Core Guidelines: The Standard Library

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

Read more
Views: 23316

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
Tags: modules
Views: 44203

Modules

Modules are 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
Tags: modules
Views: 162369

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

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

Read more
Views: 22198

C++ Core Guidelines: Source Files

The organisation of source files is a topic that 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
Views: 27204

C++ Core Guidelines: Mixing C with C++

Due to the same history of C and C++, both languages are closely related. Because neither of them is a subset of the other, you have to know a few rules to mix them.

Read more
Tags: C
Views: 33865

Types-, Non-Types, and Templates as Template Parameters

I assume you saw the additional keywords typename or template used before a name in a template. Me too. Honestly, I was quite surprised. Today's post is about dependent names and various template parameters.

Read more
Tags: templates
Views: 58956

Templates: Misconceptions and Surprises

I often teach the basics to templates. Templates are special. Therefore, I encounter many misconceptions which cause surprises. Here are a few of them.

Read more
Views: 16896

C++ Core Guidelines: Surprise included with the Specialisation of Function Templates

Today, I finish the C++ core guidelines rules to templates with a big surprise for many C++ developers. I write about the specialisation of function templates.

Read more
Tags: templates
Views: 18012

Mentoring

English 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

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 5389

Yesterday 4232

Week 5389

Month 16318

All 10359625

Currently are 148 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments