Name: Anonymous 2011-07-24 21:05
Just tell me one thing about Sepplesox: Can I have a container1 of mixed types2,3? If the answer is no, then you can keep it and I'll stick with C, thank you.
1 vector, etc, not something custom
2 not a "vector of pointers," but a vector of actual objects of different classes
3 it's fine if the types are required to share the same base class, e.g.
1 vector, etc, not something custom
2 not a "vector of pointers," but a vector of actual objects of different classes
3 it's fine if the types are required to share the same base class, e.g.
vector<shape> shapes = { circle, square, triangle };