Variadic templates
Kyle Furlong
kylefurlong at gmail.com
Thu Nov 2 15:50:08 PST 2006
Benji Smith wrote:
> 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
Wait, templating function calls incurs a runtime penalty?
More information about the Digitalmars-d
mailing list