From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-04-26 13:23:44
On 4/26/05, Philippe Mori <philippe_mori_at_[hidden]> wrote:
> Since a Limousine is a Car, you should able to do
> Cars.insert(Cars.end(), Limousines.begin(), Limousines.end());
> at least if you have a recent compiler.
And if you don't mind slicing your objects. You can't store
polymorphic types directly in std containers.
-- Caleb Epstein caleb dot epstein at gmail dot com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk