Type helpers instead of UFCS

BBasile via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 15 11:14:20 PDT 2015


On Tuesday, 15 September 2015 at 16:14:39 UTC, John Colvin wrote:
> On Saturday, 12 September 2015 at 20:37:37 UTC, BBasile wrote:
>> [...]
>
> How is this different to just having a specific type for the 
> first argument?
>
> void writeln(Args...)(string s, Args args)
> {
>     static import std.stdio;
>     std.stdio.writeln(s, args);
> }

Probably not much. Just forget this topic and let it fall into 
the black hole of memories...Already said previously that's 
probably not that a good idea.


More information about the Digitalmars-d mailing list