Variadic parameter of length 1

monarch_dodra via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 20 10:47:36 PDT 2014


On Wednesday, 20 August 2014 at 17:02:59 UTC, Dicebot wrote:
> On Wednesday, 20 August 2014 at 15:34:30 UTC, Dominikus Dittes 
> Scherkl wrote:
>> And why historical? Is that not necessary anymore? What better 
>> solution is there today?
>
> Historical in a sense that distinct "can be anything" template 
> parameter is probably a better approach but it is too late to 
> change such core language part.

Yeah, what he said. It's a language artifact.


More information about the Digitalmars-d-learn mailing list