Templates, templates, templates...

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 24 05:28:00 PST 2016


On 24.01.2016 10:02, Voitech wrote:
> I added base class for Rule -> BaseRule. But this class is just a shell
> without implementation.
> Is there any way to avoid this ?

What's the problem with BaseRule not having any implementation? When the 
different Rule instantiations don't have any common operations that can 
be put there, then BaseRule's purpose is only to be a common supertype.


More information about the Digitalmars-d-learn mailing list