This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Re: basic_string<>::max_size - only 1MB?


>>>>> Ryszard Kabatek <rysio@rumcajs.chemie.uni-halle.de> writes:

 > I think _Rep::_S_max_size should be increased to npos/40 (=100MB) or
 > so. 

Why not just (npos/sizeof(CharT)) - 1 ?

Jason

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