What is a good boost smart pointer to return from a factory?
shared_ptr or scoped_ptr?
I read that shared_ptr is only used in certain circumstances like when putting the pointer into STL containers. But scoped_ptr seems too simple for generic use.
Is there a 'best' smart pointer for generic use?