error handling

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: 6718

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: 12635

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: 6361

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: 13881

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: 28224

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: 10908

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 2089

All 1827921

Currently are 132 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments