Monthly Archives: September 2017

Syntax [crayon-5c6ab5b8b7985146038369/]   [crayon-5c6ab5b8b7994766426586/] 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-5c6ab5b8b99ea489537598/]   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