On 01/30/2011 03:47 PM, Philippe Sigaud wrote:
On Sun, Jan 30, 2011 at 19:15, Ellery Newcomer
<[email protected]>  wrote:
doh.

when I did something like

enum string s = tct!(int,int);

it just took it and didn't complain that it didn't know the value at compile
time.

I think in this case, your asking for an enum string, er, 'propagates'
the compile-time-ness to tct!(int,int). Everything is calculated at
CT, because it's doable.
But when you used pragma(msg, someString), the compiler doesn't know
someString can be entirely known at CT.


actually, it didn't calculate it and if I passed it to a function call, then it would complain that it didn't know the value

Reply via email to