package access specifier not usable within a class

Jonathan M Davis jmdavisProg at gmx.com
Fri Sep 9 05:02:58 PDT 2011


On Friday, September 09, 2011 07:15:09 Steven Schveighoffer wrote:
> On Thu, 08 Sep 2011 21:23:00 -0400, Jonathan M Davis <jmdavisProg at gmx.com>
> 
> wrote:
> > Neither private nor protected functions are ever virtual at this point,
> 
> Jonathan meant to say neither private nor *package* functions.
> 
> protected functions are virtual.

LOL. Ouch. Thanks for the correction. Yes private and package are not virual. 
Protected definitely is. It would be pretty useless otherwise.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list