Non-Virtual Interface and the Fragile Base Class Interface Problem

8:22:00 AM 0 Comments A+ a-

A new writeup on Non-Virtual Interface (NVI) idiom has been written on More C++ Idioms wikibook. In the writeup, I discuss the relationship of NVI with the Fragile Base Class (FBC) problem, which can silently break perfectly good derived classes because of some innocuous changes in the base class.