dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07484
virtual methods
According to http://developer.kde.org/~wheeler/cpp-pitfalls.html:
Note: While it is not required to use the virtual keyword in our subclass
implementations (since if the base class implementation is virtual all
subclass implementations will be virtual) it is still good style to do so.
I don't think DOLFIN does this. Should we put adding the virtual keyword to
virtual methods on the todo-list? After all, the virtual keyword adds
information to the user.
Ola
Follow ups