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: PR 3983, basic_istringstream<unsigned char> fails



> I don't understand this.  It doesn't matter that fill() is const.  
> The _M_fill member (as any other data member) can be mutable if
> declaring it so enables an optimization.

Hmmm. Let me dig up my original patches that attempted to do this: I 
don't think I thought of making _M_fill mutable, eeeek, thanks.

-benajamin


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