how do i create STL assortment of classes which implement abstract base class while using base class as collection value, without needing pointers?
can there be something in Boost that enables me to implement it? The gathering particularly is map.
The Boost Pointer Container Library does what you would like.
Consider the way the compiler would generate code to achieve that ? No pointers implies that the storage needs to be allotted "within the collection itself" inside a static array or something like that. However the storage needed for that subclasses can alter ! Just how would the compiler get it done ? ... it cannot ...