Old problem with performance
Weed
resume755 at mail.ru
Sun Feb 8 19:31:13 PST 2009
Adam D. Ruppe пишет:
> 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.
No, D do not allow return scope value.
> You can also put a custom allocator in your
> class and do whatever you want.
>
Often you add custom allocator in the classes who uses overload? You
begin to do it after that talk? :)
More information about the Digitalmars-d
mailing list