baxissimo Joined: 10/23/06 Posts: 24 Posted: 05/25/07 06:41:02 It would be nice if HashSet? and other collections supported opIn (or rather opIn_r) for testing whether elements are inside. I think 'if (10 in int_set) { ... }' is nicer and more D-like than if (int_set.contains(10)).
It would be nice if HashSet? and other collections supported opIn (or rather opIn_r) for testing whether elements are inside. I think 'if (10 in int_set) { ... }' is nicer and more D-like than if (int_set.contains(10)).
Author Message kris Joined: 03/27/04 Posts: 581 Posted: 05/25/07 20:27:07 I agree. Would you mind creating a ticket for that, please? Can assign to me :)
I agree. Would you mind creating a ticket for that, please? Can assign to me :)