Unformatted Input in C++ ...
Benjamin Kosnik
bkoz@redhat.com
Wed Nov 28 11:27:00 GMT 2001
Sorry for the delay.
Here's the method:
basic_istream<charT,traits>& get(char_type& c);
I'd think your options are:
1) change gcc defaults to make unsigned char == char
2) instantiate basic_istream for charT == unsigned char (this is a lot of
work because you'd have to add in all the required locale facets for
unsigned_char)
3) inherit from basic_istream and add an unsigned char get method
-benjamin
More information about the Libstdc++
mailing list