The C++ std::string class provides string::size_type as an integer datatype large enough to represent any possible string size.
The maximum value of an int is 2,147,483,647.
Meaning that if a line or page wont hold more than 2,147,483,647 characters
- which in normal cases never do - then you dont have to bother declaring string::size_type, you can just declare an int, which is much more simple.
Am i right or am i right? ;)