Monthly Archives: September 2017


code
Syntax [crayon-5d5e8d2626f19853422511/]   [crayon-5d5e8d2626f2f814770846/] 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





code
Syntax [crayon-5d5e8d2629863316975142/]   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