Boost logo

Boost :

From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2000-12-07 02:36:44

Dave Abrahams wrote:
> ----- Original Message -----
> From: "Jesse Jones" <jejones_at_[hidden]>
> > polymorphic_cast and polymorphic_downcast are rather trivial and seem to
> > mostly be rarely useful so I'm inclined to say that they should not be
> part
> > of boost.
> I hope we don't make that decision, as it would require me and my colleagues
> to change quite a lot of working code which depends on polymorphic_downcast.
> I hope that is sufficient to speak for the utility of these functions. As to
> triviality, the same could be said for std::pair<>. Sometimes a trivial
> construct has great advantages in expressive power.

I just wanted to say that Dave is right :). I've found 'polymorphic_downcast'
to be a very handy and useful tool, and I think that it should be a part of
boost cast library.


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