is(x = module) vs. __traits(isModule, x)

Adam D. Ruppe destructionator at gmail.com
Thu Oct 8 12:54:49 UTC 2020


On Thursday, 8 October 2020 at 10:11:59 UTC, Max Samukha wrote:
> Wrapping __traits in templates is a necessity if you want to 
> use them for anything interesting (such as passing them to 
> higher order functions):

I kinda wish we had a template lambda.


More information about the Digitalmars-d mailing list