dmd.canthrow

Perform checks for nothrow.

Specification: Nothrow Functions

Members

Enums

CT
enum CT

Status indicating what kind of throwable might be caused by an expression.

Functions

canThrow
BE canThrow(Expression e, FuncDeclaration func, bool mustNotThrow)

Returns true if the expression may throw exceptions. If 'mustNotThrow' is true, generate an error if it throws

Meta