Boost logo

Boost :

Subject: Re: [boost] Double free from UTF
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2009-09-29 05:05:57

Steve M. Robbins <steve <at>> writes:

> On Tue, Sep 29, 2009 at 08:12:39AM +0200, Juergen Hunold wrote:
> > And as mentioned in another thread, using virtual destructors and
> > getting rid of the (now even old-style casts ( ) might be a much
> > better idea.
> I second this. The current code using an "if" statement and down
> casting seems stunningly bad design, to me. What's wrong with
> the straightforward polymorphic approach?

Cause there is nothing polymorphic about the test_unit/test_case class usage.


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