View source code
Display the source code in dmd/templatesem.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Function dmd.templatesem.functionResolve
Given function arguments, figure out which template function to expand, and return matching result.
void functionResolve
(
ref dmd .declaration .MatchAccumulator m,
Dsymbol dstart,
Loc loc,
dmd .dscope .Scope* sc,
dmd .root .array .Array!(dmd.rootobject.RootObject)* tiargs,
Type tthis,
ArgumentList argumentList,
void delegate(const(char)*) errorHelper = cast(void delegate(const(char)*) scope)null
);
Parameters
Name | Description |
---|---|
m | matching result |
dstart | the root of overloaded function templates |
loc | instantiation location |
sc | instantiation scope |
tiargs | initial list of template arguments |
tthis | if !NULL, the 'this' pointer argument |
argumentList | arguments to function |
errorHelper | delegate to send error message to if not null |
Authors
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.