TemplateDeclaration.scopeForTemplateParameters

Create a scope for the parameters of the TemplateInstance ti in the parent scope sc from the ScopeDsymbol paramsym.

If paramsym is null a new ScopeDsymbol is used in place of paramsym.

class TemplateDeclaration
scopeForTemplateParameters

Parameters

ti

the TemplateInstance whose parameters to generate the scope for.

sc
Type: Scope*

the parent scope of ti

Return Value

Type: Scope*

a scope for the parameters of ti

Meta