On Wednesday, 9 May 2012 at 11:57:46 UTC, Jacob Carlborg wrote:
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

Five, if you count lazy variadics.

-Lars

Reply via email to