setUnsafe

A statement / expression in this scope is not @safe, so mark the enclosing function as @system

bool
setUnsafe
(,
bool gag = false
,,
const(char)* fmt = null
,
RootObject arg0 = null
,
RootObject arg1 = null
,
RootObject arg2 = null
)

Parameters

sc Scope*

scope that the unsafe statement / expression is in

gag bool

surpress error message (used in escape.d)

loc Loc

location of error

fmt const(char)*

printf-style format string

arg0 RootObject

(optional) argument for first %s format specifier

arg1 RootObject

(optional) argument for second %s format specifier

arg2 RootObject

(optional) argument for third %s format specifier

Return Value

Type: bool

whether there's a safe error

Meta