overloadApply

Visit each overloaded function/template in turn, and call dg(s) on it. Exit when no more, or dg(s) returns nonzero.

extern (D)
int
overloadApply
(,
scope int delegate dg
,
Scope* sc = null
)

Parameters

fstart Dsymbol

symbol to start from

dg int delegate

the delegate to be called on the overload

sc Scope*

context used to check if symbol is accessible (and therefore visible), can be null

Return Value

Type: int

==0 continue !=0 done (and the return value from the last dg() call)

Suggestion Box / Bug Report