Any way to create derived classes from Exception with canned messages?

Adam D Ruppe destructionator at gmail.com
Sat Jul 31 11:30:06 UTC 2021


On Saturday, 31 July 2021 at 08:25:56 UTC, Jeremy T. Gibson wrote:
> Now, https://github.com/dlang/druntime/blob/master/src/object.d 
> clearly expresses that the constructors of Exception are @nogc.

That doesn't mean your constructors have to be! You can do 
whatever you want. Constructors aren't an inherited interface.


More information about the Digitalmars-d-learn mailing list