[Issue 6966] cannot create qualified type from tuple entry
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 17 07:31:11 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6966
--- Comment #1 from timon.gehr at gmx.ch 2011-11-17 07:30:25 PST ---
Workaround:
template XImpl(T...){
alias T[0] _;
alias const(_) X;
}
template X(T...){alias XImpl!T.X X;}
static assert(is(X!(int) == const(int))); // pass
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list