Le 09/05/2012 13:57, Jacob Carlborg a écrit :
On 2012-05-09 13:15, deadalnix wrote:
Le 09/05/2012 08:10, SiegeLord a écrit :
For the ignorant: I do NOT mean variadic templates as used by std.stdio.

I note that they are not mentioned in TDPL. What is the deal with them
and their future? I'll be very displeased if I have to recode a good bit
of Tango that uses them if they are removed... None of my attempts at
coding a replacement for them using variadic templates have matched
their efficiency (in terms of generated code size) or ease of use (they
invariably require a shim function).

-SL

They are useful to interface with existing C code and variadic template
have drawback (they for instance cannot be virtual).

C variadics are note the same as D variadics. D has four kinds of
variadics:

* Template
* D style
* Type safe
* C style


If I restate, we have to support C variadic functions. So, I wouldn't make sense to not provide them in D. Additionnaly, it wouldn't make sense either to not be benefit from the type safety added.

Reply via email to