Dave wrote: >> Aggh, that's a compiler bug. >> >> int foo = square(5); >> >> does work. I knew I'd never get it right the first try :-( > > Wait -- int foo = square(5); is supposed to CTFE? If so that'd be awesome. I don't think so. If I'm not mistaken, D would do that at runtime at the moment. -- Michiel