const debacle
Janice Caron
caron800 at googlemail.com
Fri Mar 21 11:34:01 PDT 2008
On 21/03/2008, Janice Caron <caron800 at googlemail.com> wrote:
> I really wish there was a better way of doing it though. Essentially,
> we want a way to auto-generate all three versions of
>
> K(T)[] func(T)(K(T)[] buf ) { ... }
Oh, and - as has been noted previously - the object code for all three
versions could be byte-for-byte identical, and therefore the function
only needs to be compiled once. The trick is to /allow/ it to compile,
for each of the three cases.
More information about the Digitalmars-d
mailing list