The Right Approach to Exceptions
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Feb 20 19:08:07 PST 2012
On Mon, Feb 20, 2012 at 08:41:47PM -0600, Andrei Alexandrescu wrote:
> On 2/20/12 8:33 PM, Robert Jacques wrote:
> >Variant e = new MyException();
> >writeln( e.filename, e.line, e.column);
> >Aren't __traits and opDispatch fun?
> I thought the same, but was afraid to bring the nuclear bomb out :o).
Mmm... but *this* nuclear bomb, I like. :-)
Heads I win, tails you lose.
More information about the Digitalmars-d