On Friday, May 11, 2012 11:22:13 H. S. Teoh wrote: > > 6. The 'in' operator returns a pointer (instead of a boolean). Which > > is fine, except that it's not what you'd expect in any languages > > other than C/C++. i.e. Non-intuitive > > Actually, that is a WAT even for somebody coming from C/C++.
Really? That's pretty much exactly what I would have expected, and it would really suck if it returned a bool. It's like what you get with find on std::map, only it's a pointer instead of an iterator. - Jonathan M Davis
