[Issue 1323] Implement opIn_r for arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 30 21:32:51 PDT 2012


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



--- Comment #15 from Roy Crihfield <rscrihf at gmail.com> 2012-10-30 21:32:47 PDT ---
I think this absolutely needs to be reconsidered. The success of the same
semantics in Python should be enough proof of the convenience and low risk of
this feature.

On top of that, the `in' operator is overloadable anyway, meaning it already
has semantic ambiguity for different types. Should `~' be considered an issue
since it can accept both T and T[]?

Practicality seems preferable here. I think this should be reopened.

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