От: | Аноним | ||
Дата: | 26.06.08 14:39 | ||
Оценка: |
class Base
{
};
class Derived1 : public Base
{
};
class Derived2 : public Base
{
};
....................
std::vector<Base*> arr1;
arr1.push_back(new Derived1);
arr1.push_back(new Derived2);
std::vector<Base*> arr2; // Как в arr2 занести копию arr1 ???