Monatsarchiv: Januar 2018

Exception-safe code

During the last years the manner we handle exceptions has fundamentally changed. If we look few years back we will find a lot of applications with exception handling in bigger context only. For example, a module executing a bigger task … Weiterlesen

Veröffentlicht unter C++ | Kommentar hinterlassen

Pure Interfaces

In my opinion, one disadvantage of c++ is that there exists no explicit interface concept or language feature. Of course, you can implement interfaces in c++ but you must use an abstract. The downside of this concept is the fact … Weiterlesen

Veröffentlicht unter C++ | Kommentar hinterlassen

Casting in C++, Part 2

Within the first part of the article we have seen the existing type of casts and we have analyzed the c++ style operators for static cast and dynamic cast. We will now continue with the const cast and reinterpret cast … Weiterlesen

Veröffentlicht unter C++ | Kommentar hinterlassen