Monthly Archives: September 2017

Syntax [crayon-5daf00b4015d3729183178/]   [crayon-5daf00b4015e2486352568/] Functionality It is used to inhibit unintended implicit conversions to bool. Such conversion functions are called explicit conversion operators. In the code below, we have the operator bool, but it’s not marked as explicit. When we want to do + and == calls on objects of […]

Classes: Explicit conversion operators

Syntax [crayon-5daf00b4035c8373567219/]   Usage / Usability Override Can be used only on virtual functions that are declared in a base class. This assures that the function is overriden and not overwritten by mistake. Used to clearly express the intent that a given derived class function is meant to provide a […]

Classes: Override / Final