Copying a variable state in a delegate literal definition
Andrej Mitrovic
andrej.mitrovich at gmail.com
Fri Sep 2 16:14:58 PDT 2011
On 9/3/11, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> On 9/3/11, Timon Gehr <timon.gehr at gmx.ch> wrote:
>> What happens if you declare the function final?
>
> Doesn't help. But it has to be virtual as every object needs to have
> it's own set of delegates.
Erm, sorry that reasoning was wrong. The function is defined once in
an abstract class and can be final, absolutely.
More information about the Digitalmars-d-learn
mailing list