template statistics

Stefan Koch uplink.coder at googlemail.com
Wed Jun 3 20:38:48 UTC 2020


On Wednesday, 3 June 2020 at 20:02:29 UTC, Walter Bright wrote:
> On 6/3/2020 7:04 AM, Adam D. Ruppe wrote:
>> tbh I think this case looks worse than it is.
>
> Not if you look at the code generated by:
>
>   import std.stdio;
>
>   void test()
>   {
>     writeln("hello");
>   }
>
> It's embarrassing.

Yes!

and now look at std.traits and std.meta :)


More information about the Digitalmars-d mailing list