Alfredo Braunstein <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | > std::string s("Lars"); | > for (std::string::pos_type p = 0; p <= s.length(); ++p) { | > std::cout << s[p]; // will work if handled like a const string | > std::cout << s.at(p); // will throw or abort | > } | | I'm afraid I don't get your point. Are you suggesting that getChar(0) on a | empty paragraph has some sense?
IMHO it is your comments about the stl that are confusing... and I do not get your point about it. -- Lgb