[ODE] Stack overflow

Gary R. Van Sickle g.r.vansickle at worldnet.att.net
Thu Jan 30 01:18:02 2003


[snip]
> Alternately, you could declare your own alloca() and write your own memory
> manager.  If I understand correctly, the stack was used because its fast,
> and most operating systems grow it as necessary, but it shouldn't be
> rocket science to get something almost as fast using a short chain of
> large heap-allocated buffers that you allocate from as if they were a
> stack.
> 

Couldn't std::stack<> come to the rescue here?

-- 
Gary R. Van Sickle
Brewer.  Patriot.