odd issue in 1.006

Walter Bright newshound at digitalmars.com
Sat Feb 17 01:18:02 PST 2007


Kevin Bealer wrote:
> In 1.006, this seems to be allowed in a CTFE function:
> 
> int q = A[i..j].length;
> c += q;
> 
> But not this:
> 
> c += A[i..j].length;

Both should work. Can you provide a complete example?



More information about the Digitalmars-d mailing list