C++20: The Big Four

This post presents you the big four: concepts, ranges, coroutines, and modules.

Read more
Views: 73936

The new pdf bundle is ready: C++ Core Guidelines: Performance

I have prepared the pdf bundle. To get it is quite simple.

Read more
Views: 6044

The Next Big Thing: C++20

C++20 will be the next big C++ standard after C++11. As C++11 did it, C++20 will change the way we program modern C++. This change is, in particular, true for Ranges, Coroutines, Concepts, and Modules. To understand this next big step in the evolution of C++, let me put it in this post in the historical context of C++ standards.

Read more
Views: 69653

"Concurrency with Modern C++" has a new chapter

I'm happy to announce. I added a new chapter to lock-based concurrent data structures to my book "Concurrency with Modern C++". Now, you get 550 pages to concurrency in C++ and more than 140 runnable examples. Here is more info: https://leanpub.com/concurrencywithmodernc       Read more
Views: 3343

C++ Core Guidelines: Naming and Layout Rules

The C++ core guidelines have about twenty naming and layout rules. A few of them are obvious; a few of them may be controversial. Let's see, what I mean.

Read more
Views: 9724

C++ Core Guidelines: Lifetime Safety And Checking the Rules

The lifetime safety profile in the C++ core guidelines boils down to one issue: don't dereference a possible invalid pointer. A pointer may be invalid because it is not initialised or the nullptr. A pointer may also point beyond its rage or to a deleted object.

Read more
Views: 7354

C++ Core Guidelines: Bounds Safety

Today's post is about the second profile of the C++ Core Guidelines: Bounds Safety. The goal of the profile bounds safety is it that you operate inside the bounds of allocated memory.

Read more
Views: 8655

C++ Core Guidelines: Type Safety by Design

What does that mean: type safety by design. Type safety by design just means, that you always initialise your variables, use std::variant instead of a union, or prefer variadic templates and fold expressions to va_arg's.

Read more
Views: 8771

C++ Core Guidelines: Type Safety

The C++ core guidelines support three profiles: type safety, bounds safety, and lifetime safety. Thanks to the guideline support library (GSL), you can check your code against these profiles. Today, I start with the profile type safety.

Read more
Views: 9087

C++ Core Guidelines: Profiles

Informally, profiles are a subset of rules of the C++ core guidelines for specific concerns such as type safety, bounds safety, and lifetime safety. Thanks to the guideline support library, they can be checked

Read more
Views: 13305

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)

Course: C++ Fundamentals for Professionals

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 650

All 4179457

Currently are 97 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments