Reimplementing the bulk of std.meta iteratively
Adam D. Ruppe
destructionator at gmail.com
Thu Oct 8 13:19:48 UTC 2020
On Thursday, 8 October 2020 at 13:12:22 UTC, Andrei Alexandrescu
wrote:
> Less flexible during compilation, more flexible at runtime.
With my little lib that uses string lambdas for templates:
pragma(msg, reified!q{
// string template lambda
a.sizeof == 4
}.run!(types =>
types.filter!(a => a) // normal std.algorithm!
).over!(string, int, float, Object));
More information about the Digitalmars-d
mailing list