Monatsarchiv: September 2017

Functor, Lamdba and Predicate

Within this blog article I want to explain the C++ functor, lambda and predicate concepts by using them in short and easy to understand examples.   Functor A functor is a class or struct which acts like a function. This … Weiterlesen

Veröffentlicht unter C++ | Kommentar hinterlassen

Use const whenever possible

The const keyword allows you to specify a semantic constraint: an object should not be modified. And compilers will enforce that constraint. This will allow you to communicate to the compiler and to other developers that the object should remain … Weiterlesen

Veröffentlicht unter C++ | Kommentar hinterlassen