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

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

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

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 817

All 2659864

Currently are 123 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments