Large file iostreams

Nathan Myers ncm-nospam@cantrip.org
Wed Sep 3 06:19:00 GMT 2003


On Mon, Sep 01, 2003 at 09:42:40AM -0000, P?tur Run?lfsson wrote:
> Martin Sebor wrote:
> > > 27.4.3.1 p2: The initial value of state() is not specified.
> > 
> > That's not necessarily a defect, is it?
> 
> Probably not, it's just annoying.

No, it's a defect.  At least at one time there was text in the
standard that required that stateT (and by extension mbstate_t)
could be initialized with stateT(), and that matched the state
at the beginning of a sequence.  I don't find that text now, 
and it's essential.  Without it, all the multibyte stuff is 
meaningless.

Nathan Myers
ncm-nospam@cantrip.org



More information about the Libstdc++ mailing list