This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

wfstream::get() function and multibyte encoding


The get() function on a wfstream object, at least the way I am using it, still fetches only 1 byte.  I would have though get() on wfstream would fetch sizeof(wchar_t).  I am aware that different overloaded versions of get() can fetch multiple characters, but is there a switch, setting, or option to tell the get() function to fetch sizeof(wchar_t) instead of just a single byte?

Joseph D. Wagner


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