Hi,
I want to maintain stack semantics in my application and avoid heap. For very few requirements, I have to write polymorphic code but I still want to create objects on stack and want to assign their addresses to some abstract base class for polymorphic access. So, all stack variables will be destroyed at the end of their scope and, yet, I'll get polymorphic access. However, functions creating/returning concrete objects have concrete class types. Can boost help me here?
Best regards, Asif