CTFE bug or enhancement?
safety0ff via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jul 2 18:46:51 PDT 2014
Everything compiles fine except for function qux2:
http://dpaste.dzfl.pl/9d9187e0b450
Is this a bug or an enhancement for CTFE?
It would be really nice to have this feature because core.simd
has functions such as: void16 __simd(XMM opcode, void16 op1,
void16 op2, ubyte imm8);
Where all the arguments must be compile time constants.
It would be nice to be able to push some parameters out from the
type list and into the argument list in user code too.
More information about the Digitalmars-d-learn
mailing list