Type Inference Bug?

Meta via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 21 07:50:09 PST 2014


On Friday, 21 November 2014 at 15:29:05 UTC, Daniel Murphy wrote:
> but you could enforce exact type with something like
> if (typeof(i) == shared(U), U) && is(shared(U) == typeof(i))

I'm assuming you meant if (typeof(i): shared(U), U) && 
is(shared(U): typeof(i))).


More information about the Digitalmars-d mailing list