Reimplementing the bulk of std.meta iteratively

Adam D. Ruppe destructionator at gmail.com
Thu Oct 8 15:12:17 UTC 2020


On Thursday, 8 October 2020 at 13:19:48 UTC, Adam D. Ruppe wrote:
>         a.sizeof == 4

Of course I probably should have written it:

pragma(msg, reified!q{
         a.sizeof // just get the size
}.run!(types =>
         types.filter!(a => a == 4) // and compare it down here
).over!(string, int, float, Object));



More information about the Digitalmars-d mailing list