On Mon, Feb 09, 2009 at 09:59:50AM +0700, Weed wrote: > Perfectly - it is necessary to leave this question to the programmer: > the class will be stored in a stack or in a heap is better will solve > the programmer instead of the compiler.
scope class does just that. You can also put a custom allocator in your class and do whatever you want. -- Adam D. Ruppe http://arsdnet.net