A
Alex J. Dam
Hi,
which guidelines should be used about those integer types defined in the
C++ Standard Library, like string::size_type, istream:os_type, etc.? Are
they meant to be used only in the library code?
For example, if I call istream::tellg(), should I store its result in a
variable of type pos_type?
Are there any problems if I simply use ints everywhere?
Thanks.
which guidelines should be used about those integer types defined in the
C++ Standard Library, like string::size_type, istream:os_type, etc.? Are
they meant to be used only in the library code?
For example, if I call istream::tellg(), should I store its result in a
variable of type pos_type?
Are there any problems if I simply use ints everywhere?
Thanks.