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?

Alfredo


Reply via email to