BRAINSTORM: return type of 'exception'

Benjamin Shropshire none at anon.com
Tue Jan 13 09:23:33 PST 2009


Hello Russell,

> The idea here is that if you had return type 'exception', then
> exceptions coming out of that function would be returned as return
> values rather than thrown with the ordinary mechanism.
[...]
>Thoughts?
> 

An interesting idea. Might be of particular use if you have a function (or 
a stack of them) that throws a lot it could result in a major speed boost.





More information about the Digitalmars-d mailing list