D 1.076 Alpha for Windows 64 bits, works with VS 2010
Jacob Carlborg
doob at me.com
Sun Sep 30 23:14:03 PDT 2012
On 2012-10-01 06:19, Walter Bright wrote:
> Also, consider that in C++ you can throw any type, such as an int. There
> is no credible way to make this work reasonably in D, as exceptions are
> all derived from Exception.
Really, I had not idea that was possible. A workaround could be to
convert to a string, wrap it in an exception class and pass to D.
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list