On Wednesday, 28 March 2018 at 06:20:56 UTC, Ali Çehreli wrote:
On 03/27/2018 11:11 PM, Chris Katko wrote:

>          writeln(a[0]); //first is "pos(100,100)"
>          static if(
>              is(a[0] == pos) //<---never matches

It's because not a[0] but its *type* is pos:

            is(typeof(a[0]) == pos) //<---MATCHES! :)

Ali

That's perfect!!! THANKS!!!!

Reply via email to