
16 Sep
2004
16 Sep
'04
11:35 a.m.
David Abrahams wrote:
Just because the original designers made the mistake of building in rbegin() and rend() accessors, it doesn't mean we should perpetuate the same mistake for consistency.
I wouldn't call it a mistake. rbegin/rend isolate the user from the somewhat counter-intuitive notion that rbegin() is obtained from end(). I like the proposed cbegin/crbegin member functions. There is a vast audience of programmers that value ease of use and consistency above orthogonality.