Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2002-02-23 18:21:28

----- Original Message -----
> Why did you choose private inheritance? Why not public abd eliminate
> all forwarding function?

Three reasons:

1. I don't want the implicit conversion to the base.
2. Sometimes the function needs to be more than a simple forward. Then
   I don't want to "override" (i.e. hide) a non-virtual.
3. The base probably won't have a virtual destructor and so I want to
   avoid deletions through a base pointer.


Boost list run by bdawes at, gregod at, cpdaniel at, john at