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...
March 18-23, Tokyo, Japan
April 17-20, Bristol, UK
April 24-26, Leganes, Spain
April 30, Online
May 7-12, Aspen, CO, USA
June 24-29, St. Louis, MO, USA
July 2-5, Folkestone, Kent, UK
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.