On 1/28/2012 12:38 PM, Walter Bright wrote: > On 1/28/2012 11:02 AM, Manu wrote: >> I'd also like an error if the function were called outside of CTFE... > > if (!ctfe) assert(0); Oops, if (!__ctfe) assert(0);