> The argument is an alias, so just a symbol. > > See: http://digitalmars.com/d/2.0/template.html (Template Alias > Arguments) > > The trick is that the template is instantiated as a local function, > which has > access to the enclosing scope. (and therewith to the local symbol that > is aliased) > > Timon And i was thinking that i knew all about templates. Impressive, thanks!