On 11/29/2012 1:47 AM, jerro wrote:It would work if some new way to force something to be evaluated atcompile time would be added, like this:alias Y = i; // symbol alias alias Z = compiletime(i); // literal constantor: enum Z = i; // evaluated at compile time <g>
Yeah, I know this does the job. I wasn't seriously proposing that we get rid of this usage of enum and define a new construct.
