Pure virtual function: Difference between revisions

Content deleted Content added
Cheesy UK (talk | contribs)
New page.
 
m intro
Line 1:
AIn [[computing]], a '''pure virtual method''' is one which has a declaration (a signature), but no definition (implementation). This may be used where it does not make sense to provide a default implementation of a method.
 
In C++, pure virtual methods only make sense (and is only legal) in an inheritance tree.