Gabriel Sechan wrote:
Dynamic memory- anything allocated with new.
Yeah, be careful about that, because as always there are exceptions to the rules. I would tend to think of anything allocated with alloca() (admittedly not part of C++) as being dynamic, as well as:

void foo(int size) {
   int bar[size];
}

--Chris

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to