Note on abstract contract about overriding implemented functions

This commit is contained in:
hrkrshnn 2020-04-30 19:41:31 +05:30
parent 75a25d53c7
commit d1fd6782bc

View File

@ -52,3 +52,8 @@ facilitating patterns like the `Template method <https://en.wikipedia.org/wiki/T
Abstract contracts are useful in the same way that defining methods Abstract contracts are useful in the same way that defining methods
in an interface is useful. It is a way for the designer of the in an interface is useful. It is a way for the designer of the
abstract contract to say "any child of mine must implement this method". abstract contract to say "any child of mine must implement this method".
.. note::
Abstract contracts cannot override an implemented virtual function with an
unimplemented one.