Voting: std.logger
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 29 16:57:05 PDT 2014
On 7/29/14, 3:25 PM, Robert burner Schadek wrote:
> On Tuesday, 29 July 2014 at 22:15:18 UTC, linkrope wrote:
>> Have a look at
>> https://github.com/linkrope/log/blob/master/src/log.d#L55-66 for the
>> overloading.
>>
>> It's much cleaner than the 'static if' sequences.
>
> of course, because you are doing much less
The idea would be to push the static ifs from inside the function into
the template constraints. -- Andrei
More information about the Digitalmars-d
mailing list