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
Add CommentViews: 8473

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
Add CommentViews: 21444

C++ Core Guidelines: Rules to Exception Handling

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

Read more
Add CommentViews: 14527

C++ Core Guidelines: The noexcept Specifier and Operator

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

Read more
Add CommentViews: 45738

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
Add CommentViews: 50775

C++ Core Guidelines: Rules for Error Handling

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

Read more
Add CommentViews: 21736

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

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

Read more
Tags: lock-free
Comments 2Views: 11397

C++ Core Guidelines: The Resolution of the Riddle

Today, I 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
Add CommentViews: 8257

C++ Core Guidelines: Concurrency and lock-free Programming

Today, I finish the rules to concurrency and continue directly with lock-free programming. Yes, you have read it correctly: lock-free programming.

Read more
Tags: lock-free
Comments 1Views: 33422

C++ Core Guidelines: Be Aware of the Traps of Condition Variables

Today, I write a scary post about condition variables. You should be aware of this issues of condition variables. The C++ core guideline CP 42 just states: "Don't wait without a condition".

Read more
Comments 4Views: 82317

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 2109

All 3020250

Currently are 181 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments