exceptions

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

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

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

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 3368

All 2069621

Currently are 138 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments