"Brian Gray" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I can see how vector<Derived*> might benefit from conversion to
> vector<Base*>, but we're talking about contiguous memory here.  Very
> subject to raw object size, so there's no way to cast between the two
> and preserve object hierarchies if they're not pointers.

The conversion vector<Derived*> to vector<Base*> is unsound. What, are we
going the way of Java containers? :o)

Andrei




_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to