John Levon <[EMAIL PROTECTED]> writes: | On Thu, May 23, 2002 at 09:51:04AM +0200, Lars Gullik Bjønnes wrote: > >> Can you do this with out using a bald pointer in the stack? > | I can but try. > >> limited_stack<shared_ptr<Undo> > XX; >> >> or something? > | So what do I do in overflow case ? > | ~T(); > | call the dtor directly ?
You just throw the shared_ptr away? Or perhaps I do not understand you completely... -- Lgb