Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 491 Bytes

ii.10.3-introducing-and-overriding-virtual-methods.md

File metadata and controls

3 lines (2 loc) · 491 Bytes

II.10.3 Introducing and overriding virtual methods

A virtual method of a base type is overridden by providing a direct implementation of the method (using a method definition, see §II.15.4) and not specifying it to be newslotII.15.4.2.3). An existing method body can also be used to implement a given virtual declaration using the .override directive (§II.10.3.2).