This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]