On 12.07.22 15:34, rempas wrote:
extern (C) void main() {
   auto obj = make_test(20);
   static if (is(typeof(obj) == Test)) { printf("YES!!!!!!!\n"); }
}

static if (is(typeof(obj) == Test!T, T)) { printf("YES!!!!!!!\n"); }

Reply via email to