[Issue 1464] New: "static" foreach breaks CTFE

BCS BCS at pathlink.com
Fri Aug 31 15:16:58 PDT 2007


Reiner Pope wrote:
>>> template Tuple(T...)
>>> {
>>>         alias T val;
>>> }
>>>
> 
> It's aliasing the template instantiation, not the tuple. It should 
> compile in 1.x as well as 2.x.

I'm looking at the above line.

this is related to issues #1241

http://d.puremagic.com/issues/show_bug.cgi?id=1241

However I seem to remember that the problem is a bit more general than 
the fist listed case.

Well I'll gave to revisit some of that.


More information about the Digitalmars-d-bugs mailing list