Difference between "can call" and "can compile"

Steven Schveighoffer schveiguy at gmail.com
Wed Sep 16 13:08:37 UTC 2020


On 9/16/20 9:04 AM, Steven Schveighoffer wrote:
> static assert(__traits(compiles, fun!foo(args)));

ugh.

static assert(__traits(compiles, doppleganger!foo(args)));


More information about the Digitalmars-d mailing list