C++ Core Guidelines: Rules for Templates and Generic Programming

I this post I give an introduction to the rules for generic programming in C++. Generic programming is, from my point of view, the outstanding feature and the future of C++. Hence it follows that this and the upcoming posts are about the future of C++.

Read more
Views: 57025

C++ Core Guidelines: Rules for Constants and Immutability

Making objects or methods const has two benefits. First, the compiler will complain when you break the contract. Second, you tell the user of the interface that the function will not modify the arguments.

Read more
Views: 49634

C++ Core Gudelines: goto considered Evil

If you can't throw an exception and can't use final_action (finally) from the guideline support library, you have a problem. Exceptional states require exceptional actions: goto. Really?

Read more
Views: 17065

C++ Core Guidelines: finally in C++

To make my point clear, this post is about the exceptional case that you can not throw an exception. If your program runs in a restricted embedded environment or you have to fulfil a hard-real-time requirement, this situation may be not so exceptional to you.

Read more
Views: 53120

C++ Core Guidelines: Rules about Exception Handling

Today's post is about the right way to throw and catch exceptions. This means when you should throw and how you should catch an exception.

Read more
Views: 41811

C++ Core Guidelines: The noexcept Specifier and Operator

If you skim the remaining rules to error handling, you often read the word noexcept. Before I write about the rules for error handling, I will write about the noexcept specifier and the noexcept operator in this post. 

Read more
Views: 168082

C++ Core Guidelines: A Short Detour to Contracts in C++20

My original plan was it to write in this post about the next rules to error handling. But I changed my plan to write about the future: contracts in C++20.

Read more
Views: 120508

C++ Core Guidelines: Rules for Error Handling

Error handling is an essential part of writing good software; therefore, the C++ core guidelines have about 20 rules for error handling.

Read more
Views: 48269

C++ Core Guidelines: The Remaining Rules about Lock-Free Programming

Today, I will finish my story on concurrency and lock-free programming. There are four rules to lock-free programming in the C++ core guidelines left.

Read more
Tags: lock-free
Views: 28945

C++ Core Guidelines: The Resolution of the Riddle

Today, I will solve the riddle from my last post. Thanks to my readers, the analysis of the ABA problem is quite accurate.

Read more
Tags: lock-free
Views: 20574

Stay Informed about my Mentoring

 

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

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

Course: Master Software Design Patterns and Architecture in C++

Subscribe to the newsletter (+ pdf bundle)

All tags

Blog archive

Source Code

Visitors

Today 3697

Yesterday 5555

Week 33905

Month 55579

All 12133788

Currently are 170 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments