digitalmars.D - What is the state of === and !is as of D0.174
- Pierre Rouleau (9/9) Nov 18 2006 Hi!
- Justin C Calvarese (8/20) Nov 18 2006 What's New for D 0.126
- Pierre Rouleau (5/22) Nov 18 2006 Thanks, should have looked in 'older versions' link...
- Chris Nicholson-Sauls (5/33) Nov 18 2006 No, it didn't... but I'm also not sure how it ought to work, or even be ...
Hi! I'v been remotely following D's evolution. Now that D.0174 no longer allows '===' and '!==' operator (http://www.digitalmars.com/d/changelog.html#new0174), what replaces '!=='? Is it '!is' ? Is '!in' allowed? BTW, the lexical page (http://www.digitalmars.com/d/lex.html) still lists '===' and '!==' in the list of tokens. Thanks - P.R.
Nov 18 2006
Pierre Rouleau wrote:Hi! I'v been remotely following D's evolution. Now that D.0174 no longer allows '===' and '!==' operator (http://www.digitalmars.com/d/changelog.html#new0174), what replaces '!=='? Is it '!is' ? Is '!in' allowed? BTW, the lexical page (http://www.digitalmars.com/d/lex.html) still lists '===' and '!==' in the list of tokens. Thanks - P.R.What's New for D 0.126 Jun 7, 2005 === now deprecated, replaced with is !== now deprecated, replaced with !is http://www.digitalmars.com/d/changelog1.html#new0126 -- jcc7
Nov 18 2006
Justin C Calvarese wrote:Pierre Rouleau wrote:Thanks, should have looked in 'older versions' link... So this also means that '!in' never made it? -- P.R.Now that D.0174 no longer allows '===' and '!==' operator (http://www.digitalmars.com/d/changelog.html#new0174), what replaces '!=='? Is it '!is' ? Is '!in' allowed? BTW, the lexical page (http://www.digitalmars.com/d/lex.html) still lists '===' and '!==' in the list of tokens.What's New for D 0.126 Jun 7, 2005 === now deprecated, replaced with is !== now deprecated, replaced with !is http://www.digitalmars.com/d/changelog1.html#new0126
Nov 18 2006
Pierre Rouleau wrote:Justin C Calvarese wrote:No, it didn't... but I'm also not sure how it ought to work, or even be strictly neccessary, as the standard behavior of opIn is to return a pointer. Simply checking the result of opIn against null is the same. Yes, yes, so its one more operator... all well. -- Chris Nicholson-SaulsPierre Rouleau wrote:Thanks, should have looked in 'older versions' link... So this also means that '!in' never made it? -- P.R.Now that D.0174 no longer allows '===' and '!==' operator (http://www.digitalmars.com/d/changelog.html#new0174), what replaces '!=='? Is it '!is' ? Is '!in' allowed? BTW, the lexical page (http://www.digitalmars.com/d/lex.html) still lists '===' and '!==' in the list of tokens.What's New for D 0.126 Jun 7, 2005 === now deprecated, replaced with is !== now deprecated, replaced with !is http://www.digitalmars.com/d/changelog1.html#new0126
Nov 18 2006