The Right Approach to Exceptions

Timon Gehr timon.gehr at gmx.ch
Mon Feb 20 12:26:06 PST 2012


On 02/20/2012 09:17 PM, Nick Sabalausky wrote:
>
>      // Second param is optional.
>      // Not sure if this can be a template mixin or has to be string mixin.
>      mixin createException!("AcmeException", "Exception");
>
>

It can be a template mixin that mixes in a string mixin declaration.


More information about the Digitalmars-d mailing list