How to get number of parameters in lambda?
Paul Backus
snarwin at gmail.com
Tue Mar 9 03:09:43 UTC 2021
On Tuesday, 9 March 2021 at 03:08:14 UTC, Paul Backus wrote:
> else static if (__traits(compiles, f(1, 2)))
> f(2);
Typo; this should of course say `f(1, 2)`.
More information about the Digitalmars-d-learn
mailing list