package and virtual

deadalnix deadalnix at gmail.com
Thu Mar 1 03:32:01 PST 2012


Le 01/03/2012 02:27, Jonathan M Davis a écrit :
>
> Personally, I'm absolutely fine with package being non-virtual. I'm just trying
> to verify that I'm correct in my understanding that the plan is to leave it
> non-virtual rather than to make dmd match what the spec currently says and
> make package virtual.
>

Both should be virtual unless specified final.


For private as it is in the module, it is easy for the compiler to 
finalize the function if it isn't overriden within the module.


More information about the Digitalmars-d mailing list