
29 Sep
2009
29 Sep
'09
6:30 a.m.
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? See https://svn.boost.org/trac/boost/attachment/ticket/2647/boost-test-invalid-r... -S