basic_string<>::max_size - only 1MB?

Jason Merrill jason@cygnus.com
Thu Dec 30 07:30:00 GMT 1999


>>>>> 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


More information about the Libstdc++ mailing list