User: enigman

  • Public profile

User profile: enigman

User info
User name:enigman
History
Joined:
Number of posts:5
Latest posts:

Container of a hierarchy of objects
It's not just the [code]B[/code] objects. Any of the classes in the hierarchy must be identifiable.

Container of a hierarchy of objects
[quote]Where I am pushing it tht way?[/quote] In your solution: [code] for(auto p: container) { ...

Container of a hierarchy of objects
I [i]did[/i] come up with a solution similar to yours. In that context, is there a neater way of sto...

Container of a hierarchy of objects
[code]p[/code] is of type [code]A*[/code] and won't pushing that into a [code]std::vector<B*> [/cod...

Container of a hierarchy of objects
How do we design a container of objects all of which belong to some subclass which directly/indirect...

This user does not accept Private Messages