Is there a way use STL containters with non-copyable elements?
something like this:
class noncopyable { noncopyable(noncopyable&); const
One option is to create a list of pointers to the elements (preferrably a shared_ptr). This is not exactly what you want but it will get the job done.