template statistics

Adam D. Ruppe destructionator at gmail.com
Wed Jun 3 14:20:40 UTC 2020


On Wednesday, 3 June 2020 at 14:10:21 UTC, Stefan Koch wrote:
> Try to print an enum please.

That's a separate case. There's branches of writeln that could 
definitely be improved.

But the simple string one isn't too bad, and the 0.04s you pay 
for the check means things like printing enums actually work, 
even if that branch isn't as well done.

puts has no hope of handling these cases.


More information about the Digitalmars-d mailing list