Why make your classes final?
I was often wondering why anyone would want to prohibit inheritance from one’s class in C++. Recently I came across one good example where this is useful...
June 8-13, Brno, Czechia
June 17-20, Folkestone, UK
September 12-18, Aurora, CO, USA
November 16-21, Búzios, Rio De Janeiro, Brazil
November 26-28, Berlin, Germany
By Blog Staff | Sep 30, 2012 01:33 PM | Tags: intermediate basics
Why make your classes final?
I was often wondering why anyone would want to prohibit inheritance from one’s class in C++. Recently I came across one good example where this is useful...
There are currently no comments on this entry.
Add a Comment
Comments are closed.