wfstream::get() function and multibyte encoding

Joseph D. Wagner theman@josephdwagner.info
Mon Jun 21 08:50:00 GMT 2004


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



More information about the Libstdc++ mailing list