--- Comment #15 from Fawzi Mohamed <> 2010-12-02 05:51:36 PST ---
To keep backward compatibility and a working D1 compiler at least for D1, if
marshalling is too difficult with the current compiler I would evaluate the
effort of creating a hidden variadic template function for each variadic
function, that (using a tuple) would pass the stuff following the old
convention to the real variadic function defined as taking void*,TypeInfo[].
Then at each calling point after the overload resolution, if the match is for
the variadic function one would call the corresponding variadic template

As the differences between variadic functions and template functions are just
small overloading differences (maybe not any more in D2, I did not check the
details), and the possibility to override variadic functions, and those would
still work correctly, with such an approach one can keep D1 working also on 64
bit architectures.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to