ranzf
April 1st, 2002, 03:31 AM
Hi,
does anyone can think about how to implement abort
in recursive algorithem (e.g. parser)
the problem is that some memory allocations may possiblly occur before we have to abort.
i thought of a way to register all the allocations in a singleton object and in case of abort to deallocate them using that object. ?
does anyone can think about how to implement abort
in recursive algorithem (e.g. parser)
the problem is that some memory allocations may possiblly occur before we have to abort.
i thought of a way to register all the allocations in a singleton object and in case of abort to deallocate them using that object. ?