Library standardization

Sean Kelly sean at invisibleduck.org
Tue Apr 22 07:42:25 PDT 2008


== Quote from Robert Fraser (fraserofthenight at gmail.com)'s article
> Sean Kelly wrote:
> > The package attribute seems to cover every instance
> > where I'd want to expose some special functionality outside a module.
> But it doesn't work. A package function isn't added to the vtable, so
> you can't expose a function that says "this function should be used only
> within this package AND is designed to be overriden (by other classes in
> the package)".

Um, what?  Who would ever want to do such a thing?  And why do you
think it should work?  Static class member functions aren't virtual
either.


Sean



More information about the Digitalmars-d mailing list