Further observations regarding alloca on i586-pc-linux-gnu

Joe Buck jbuck@synopsys.com
Wed Aug 26 11:57:00 GMT 1998


> > You did not say how long you need the memory: If you need automatic
> > deallocation when the caller of f returns, you can return an auto_ptr
> > from f.
> 
> How does it know when to deallocate the memory?

The destructor deallocates the memory.






More information about the Gcc mailing list