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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 13 07:29:43 PDT 2013


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


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timon.gehr at gmx.ch


--- Comment #1 from timon.gehr at gmx.ch 2013-08-13 07:29:42 PDT ---
What is the meaning of is(T1!=T2) ?

Is it

!is(T1==T2)

or

is(T1) && !is(T1==T2)

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

---

Extra: What would be the difference to is(T1:T2) ? I think this would again
make more sense without 'is': T1<T2.

-- 
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