Variadic templates

Benji Smith dlanguage at benjismith.net
Thu Nov 2 15:26:14 PST 2006


Craig Black wrote:
 >> This feature seems to supercede older versions of variadic functions.
 >> Are there still reasons to use the older approach to variadics?

Walter Bright wrote:
> That's a very good question, and I don't know the answer. writefln()'s 
> current implementation may be obsolete. But it's premature to write its 
> obituary. Let's see how things unfold a bit first.

I'd hate to think that every call to a variadic function would require a 
template instantiation. Doesn't seem like it'd be very efficient.

--benji



More information about the Digitalmars-d mailing list