basic_string<>::reserve - patch

Ryszard Kabatek rysio@rumcajs.chemie.uni-halle.de
Fri Jul 2 01:55:00 GMT 1999


As suggested in one of previous messages I added the check:
__LENGTHERROR(__res_arg > max_size());
in reserve.
The attachment contains the patch.

1999-07-02  Ryszard Kabatek <kabatek@chemie.uni-halle.de>

        * bits/string.tcc: Check the __res_arg for a length error.


Ryszard Kabatek
Martin-Luther University Halle-Wittenberg, Department of Physical Chemistry
Geusaer Str. 88, 06217 Merseburg, Germany
Tel. +49 3461 46 2487 (2466) Fax. +49 3461 46 2129


More information about the Libstdc++ mailing list