templates and scoping

BCS none at anon.com
Sat Apr 3 11:50:01 PDT 2010


Hello Ellery,

> The problem I see is it can't distinguish between 1 or 2 and 3
> 

OK, lets try a slightly different question:

Can code statically branch on what scope some symbol is in?

I'd look at __traits but I don't know how to do this off hand.

Being in a template mixin and getting passed in as a string just confuse 
the issue.

-- 
... <IXOYE><





More information about the Digitalmars-d-learn mailing list