Re: Virtual inheritance


2008-03-25 07:26:12 PM
cppbuilder105
"Jason Cipriani" < XXXX@XXXXX.COM >wrote in message
Quote
"Jason Cipriani" < XXXX@XXXXX.COM >wrote in message
news:47e860be$ XXXX@XXXXX.COM ...
>You did not post enough of the class definition to make it clear.

Oops, sorry; this is not quite true. You *did* say that
TNSSortedCollection is a base class for other classes. If
TNSSortedCollection is *only* a base class for other classes, and is never
constructed directly, then you did indeed post enough information and
regardless of what delta and setLimit are, the TNSCollection constructor
is never called by the TNSSortedCollection constructor.

In any case the delta is defined as protected and setLimit() as a public
function. The collection can be dynamically resized..
Vladimir Grigoriev