Trait compiles
Jiyan
jiyan at jiyan.info
Tue Jan 16 02:56:53 UTC 2018
Hello,
is there anyway to do something like this:
mixin template foo( exp)
{
static if(__traits(compiles, exp))exp;
}
Thanks :)
More information about the Digitalmars-d-learn
mailing list