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 TemplateInstance

the TemplateInstance whose parameters to generate the scope for.

sc Scope*

the parent scope of ti

Return Value

Type: Scope*

a scope for the parameters of ti

Suggestion Box / Bug Report