package and virtual
H. S. Teoh
hsteoh at quickfur.ath.cx
Wed Feb 29 17:05:19 PST 2012
On Wed, Feb 29, 2012 at 07:53:54PM -0500, Jonathan M Davis wrote:
> package functions are currenly non-virtual.
>
> The spec claims that "all non-static non-private non-template member func
> tions are virtual," which would mean that package is supposed to be virtual.
> But from what I recall, the plan is to leave package as non-virtual. So, is
> that indeed the case and the spec needs to be fixed, or is package going to be
> made virtual at some point?
[...]
Virtual package functions would be interesting in theory... but I doubt
there's much practical use for such things. Will packages have an
inheritance hierarchy now?
T
--
Любишь кататься - люби и саночки возить.
More information about the Digitalmars-d
mailing list