>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> NVI - Nonvirtual Interface pattern.

Lars> As some of you might know, I am a sucker for books.

And programming concepts ;)

Lars> The conclusion of that chapter is:

Lars> "Prefer to make base class virtual functions private (or
Lars> protected if you really must). This separates the concers of
Lars> interface and implementation, which stabilizes interfaces and
Lars> makes implementation decisions easier to change and refactor
Lars> later. 

I do not see what practical benefit we gain from there. It is not as
if we were exporting a stable API to external programs.

Could you tell the rest of us who do not worship Herb Sutter why we
should want to do it?

JMarc

Reply via email to