Why Make Your Classes Final? -- Andrzej Krzemieński

Andrzej Krzemieński writes:

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...

[more]

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.