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

Reply via email to