Dynamic arrays in D 1.0

Janice Caron caron800 at googlemail.com
Sun May 11 14:22:00 PDT 2008


On 11/05/2008, Bill Baxter <dnewsgroup at billbaxter.com> wrote:
>  Does std.algorithm.copy work in CTFE?

I just tried it, and the answer's no. That seriously surprises me.

Apparently, it can't evaluate begin(target) at compile time.

OK - I withdraw that objection. (Although, of course, memmove will
/never/ be CTFE compatible, whereas copy might be in the future).



More information about the Digitalmars-d mailing list