Null Object Design Pattern in C++

The Null object pattern is a design pattern that handles null references. Null objects can arise in a program and it is usually handled as a special case which is unnecessarily adds a test case. A better way to handle this is to add native support for null objects in the class design.

This is a companion discussion topic for the original entry at