hasSideEffect

Determine if Expression has any side effects.

extern (C++)
bool
hasSideEffect
(,
bool assumeImpureCalls = false
)

Parameters

e Expression

the expression

assumeImpureCalls bool

whether function calls should always be assumed to be impure (e.g. debug is allowed to violate purity)

Meta