Assertion: class's function | /r/HasProperty | virtual
Facets:
Source sentences:
text: A key consideration is whether it makes sense for a function to be virtual.
text: A function should be virtual when the implementation is likely to differ from subclass to subclass.
text: This interface is primarily determined by virtual functions, but you can also include protected methods that are designed for use by the class or its subclasses (remember that protected methods are visible to subclasses while private methods are not).A key consideration is whether it makes sense for a function to be virtual.
text: A function should be virtual when the implementation is likely to differ from subclass to subclass.