Can we deprecate "D-style Variadic Functions"

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Wed Mar 25 17:11:04 PDT 2015


On Wednesday, 25 March 2015 at 22:12:04 UTC, Freddy wrote:
> "D-style Variadic Functions" found 
> here:http://dlang.org/function.html seem entirely out classed 
> by Variadic Function Templates. Can we deprecate them?

Those are two different concepts with different trade-offs. Using 
variadic templates adds template bloat. Using D-style variadics 
requires RTTI (and small overhead for it). It is up to 
library/application writer to decide what is best in his case.


More information about the Digitalmars-d mailing list