Andrej Mitrovic:

alias Same_Type_1 = Typedef!(void*, null, "cookie");
alias Same_Type_2 = Typedef!(void*, null, "cookie");
static assert(is(Same_Type_1 == Same_Type_2)); // unsafe *only if you request it*

I suggest to not offer this usage possibility.

Bye,
bearophile

Reply via email to