OpmFinal.hpp File Reference This file provides a wrapper around the "final" C++-2011 statement. More...
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Detailed DescriptionThis file provides a wrapper around the "final" C++-2011 statement. The "final" C++-2011 statement specifies that a virtual method cannot be overloaded by derived classes anymore. This allows the compiler to de-virtualize calls to such methods and is this an optimization. (it also prevents the programmer from creating a new method instead of overloading an existing one, i.e., it is nice to have from a code quality perspective.) Since not all compilers which must be supported by OPM feature the "final" qualifier, this method provides a wrapper macro around it. Macro Definition Documentation
|
|||||||