[Issue 10816] Support for is(T1 != T2) syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 13 09:36:30 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10816



--- Comment #5 from bearophile_hugs at eml.cc 2013-08-13 09:36:29 PDT ---
(In reply to comment #1)

> What is the meaning of is(T1!=T2) ?
> 
> Is it
> 
> !is(T1==T2)
> 
> or
> 
> is(T1) && !is(T1==T2)

The most important use case is to test if two already existing types differ.


> IMO the way to go is to use T1==T2 and T1!=T2. (In this case, both T1 and T2
> should be valid types.)

I agree. But I think this is for another enhancement request. Do you want to
open it?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list