The Right Approach to Exceptions

Timon Gehr timon.gehr at gmx.ch
Sat Feb 18 18:19:00 PST 2012


On 02/19/2012 02:23 AM, Jonathan M Davis wrote:
> One potential issue though is that not all base classes necessarily share the
> same constructors. Which ones would be grabbed? The ones from the immediate
> base class? All of them? Only the ones common to all?
>

There is only one base class. Inheriting constructors from anywhere 
further up the hierarchy cannot work, because then the base class cannot 
be constructed.


More information about the Digitalmars-d mailing list