"Tom S" <h3r3tic at remove.mat.uni.torun.pl> wrote in message news:dto984$1inu$1 at digitaldaemon.com... > How about: > > char[] foo = (cast(char*)alloca(...))[0 .. bar.length]; > foo[] = bar[]; > Huh! Would've thought that that'd've copied the data from the original alloca'd buffer, but now that I think about it, I guess it wouldn't.