Topic: Stack vs. Heap allocation (dynamic arrays or what happend to
Author: boukanov@sentef2.fi.uib.no (Igor Boukanov)
Date: 1997/04/10 Raw View
Joe Buck (jbuck@Synopsys.COM) wrote:
> If you insist that the memory for your vector
> be on the stack, I suppose you could write a special allocator.
But it can not be done in a portable way. BTW there is a proposal to include
this possibility to future C standard and u can find few C and
at least one C++ compiler (gcc) supporting it.
--
Regards, Igor Boukanov.
igor.boukanov@fi.uib.no
http://www.fi.uib.no/~boukanov/
---
[ comp.std.c++ is moderated. To submit articles: try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html ]
[ Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu ]