Is there a way to replace Exception with as a macro in C?

Mike Parker aldacron at gmail.com
Tue Feb 19 06:17:57 UTC 2019


On Tuesday, 19 February 2019 at 06:16:59 UTC, Mike Parker wrote:

> ```
> Exception invalidIndexException() { throw new Exception("Index 
> is invalid"); }

Eh, that should be:

void invalidIndexException() {...}


More information about the Digitalmars-d-learn mailing list