On Tuesday, 12 July 2022 at 13:37:49 UTC, ag0aep6g wrote:
static if (is(typeof(obj) == Test!T, T)) { printf("YES!!!!!!!\n"); }
Haaaaaah? Ok, what does this work anyway? I thought you needed parenthesis for more than 1 templated arguments...
rempas via Digitalmars-d-learn Tue, 12 Jul 2022 07:01:54 -0700
On Tuesday, 12 July 2022 at 13:37:49 UTC, ag0aep6g wrote:
static if (is(typeof(obj) == Test!T, T)) { printf("YES!!!!!!!\n"); }
Haaaaaah? Ok, what does this work anyway? I thought you needed parenthesis for more than 1 templated arguments...