How the heck is onInvalidMemoryOperationError() nothrow?

Jeremy DeHaan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 5 19:57:59 PDT 2016


In core.exception, we have a lovely function called 
onInvalidMemoryOperationError(). This function is marked as 
nothrow (plus other annotations). This function literally does 
nothing except throwing an error. How can it be marked as nothrow?


More information about the Digitalmars-d-learn mailing list