How about this one: "Returns: The first iterator i in the range [first ,last ) for which the following corresponding conditions hold: *i == value , pred (*i) != false. Returns last if no such iterator is found."
But we all know that the only True Beginner Language(tm) is Python, so it doesn't really matter :-)
Well what you're describing there are not "essential" features of C++, more like extension libraries. I wouldn't start anyone with iterators and STL, God forbid :)
Cherry-picking, are we?
ReplyDeleteHow about this one: "Returns: The first iterator i in the range [first ,last ) for which the following corresponding conditions hold:
*i == value , pred (*i) != false. Returns last if no such iterator is found."
But we all know that the only True Beginner Language(tm) is Python, so it doesn't really matter :-)
Well what you're describing there are not "essential" features of C++, more like extension libraries. I wouldn't start anyone with iterators and STL, God forbid :)
ReplyDelete