inferApplyArgTypes

Given array of foreach parameters and an aggregate type, find best opApply overload, if any of the parameter types are missing, attempt to infer them from the aggregate type.

bool
inferApplyArgTypes

Parameters

fes ForeachStatement

the foreach statement

sc Scope*

context

sapply Dsymbol

null or opApply or delegate

Return Value

Type: bool

false for errors

Meta