basic_string<> - patch

Ryszard Kabatek rysio@rumcajs.chemie.uni-halle.de
Tue Jun 8 02:47:00 GMT 1999


The _S_construct function call the _S_copy_chars function.
_S_copy_chars is a template function with a specialization for const _CharT*.
It is to few. 
I added three specializations, for _CharT*, iterator and const_iterator.

I expected the specializations for const _CharT* and const_iterator would
be enough, but it is not the case :-( we need the specializations
for _CharT* and iterator too.


1999-06-08  Ryszard Kabatek <kabatek@chemie.uni-halle.de>

	* bits/basic_string.h:
	  basic_string<>::_S_copy_chars<> - add specializations for 
	  _CharT*, iterator and const_iterator.


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