how to make this function nothrow?
Adam D. Ruppe
destructionator at gmail.com
Mon Feb 15 21:08:39 UTC 2021
On Monday, 15 February 2021 at 21:04:50 UTC, Jack wrote:
> obviously, insert a try-catch() within catch() is a circular
> dependence and doesn't solve the problem either (even if it, I
> think it would be quite ugly)
well that's prolly the way to do it, just catch Exception and
like assert(0) if it happens with a static string
assert(0, "exception toString threw");
to completely abort at that point.
More information about the Digitalmars-d-learn
mailing list