This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: basic_string<>::_M_mutate - updated patch
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: basic_string<>::_M_mutate - updated patch
- From: Ryszard Kabatek <rysio@rumcajs.chemie.uni-halle.de>
- Date: Wed, 30 Jun 1999 10:34:52 +0200 (CEST)
- cc: libstdc++@sourceware.cygnus.com
- Reply-To: Ryszard Kabatek <kabatek@chemie.uni-halle.de>
On Tue, 29 Jun 1999, Benjamin Kosnik wrote:
> > basic_string<>::_S_copy_chars for _CharT*, iterator and const_iterator,
> > that I sent some weeks ago, is still not installed.
>
> ...because you have not justified it's necessity. If you can, please post a testcase.
>
I did it my message from 9.06.1999.
BTW. It is so simple. If we have not a specialization for a template
the template will be called.
So if we use basic_string<>::iterator as parameter of the
constructor and we have not a specialization for it, the slow
template version of _S_copy_chars will be called.
A more detailed description You find at:
http://sourceware.cygnus.com/ml/libstdc++/1999-q2/msg00300.html
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