Can I circumvent nothrow?
Damian Day via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Apr 26 18:57:26 PDT 2014
On Sunday, 27 April 2014 at 01:53:15 UTC, Ali Çehreli wrote:
> On 04/26/2014 06:39 PM, Damian Day wrote:
>
> > Problem I have is inside "shutdown_system()" I have code that
> can't
> > possibly be @nothrow because their are a lot of subsystems to
> shutdown.
>
> You can wrap the contents of shutdown_system() with a try-catch
> block and swallow all exceptions that way.
>
> Ali
Oh right, didn't realize it would be that simple. Thank you!!
More information about the Digitalmars-d-learn
mailing list