[Issue 1323] Implement opIn_r for arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 4 13:39:50 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1323
------- Comment #12 from wbaxter at gmail.com 2007-11-04 15:39 -------
Walter weighs in on the NG:
Walter Bright wrote:
> Denton Cockburn wrote:
>> I just figure it's done often enough that adding it wouldn't be hard,
>> especially considering the keyword is already there, and with the same
>> general meaning.
>
> With AAs, the 'in' expression looks for the key, not the value. It would
> be inconsistent to overload it to search for values in regular arrays.
digitalmars.com digitalmars.D:61103
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=61103
--
More information about the Digitalmars-d-bugs
mailing list