Subject: Re: [boost] Double free from UTF
From: Steve M. Robbins (steve_at_[hidden])
Date: 2009-09-29 02:30:12
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?