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<>::_M_mutate - updated patch


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


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