[Patch] libstdc++/30449 (fill, fill_n)

Paolo Carlini pcarlini@suse.de
Fri Jan 19 15:43:00 GMT 2007


Hi,

this is the first part of the work, about std::fill and std::fill_n: I'm 
simply closely following the example of std::copy, adding a first step 
to reach the bare pointer of __normal_iterator, thus enabling the 
specialized algorithms exploiting memset/wmemset (for char, unsigned 
char, signed char, and now wchar_t too) also for string::iterators and 
vector::iterators.

Tested x86-linux.

Paolo.

///////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_30449_1
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070119/806d7400/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_30449_1
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070119/806d7400/attachment-0001.ksh>


More information about the Libstdc++ mailing list