This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Unformatted Input in C++ ...
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Naren Reddy <naren at iSoftel dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 28 Nov 2001 11:27:11 -0800 (PST)
- Subject: Re: Unformatted Input in C++ ...
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