[multiple changes]
authorPaolo Carlini <paolo@gcc.gnu.org>
Fri, 25 Jun 2004 09:25:57 +0000 (09:25 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 25 Jun 2004 09:25:57 +0000 (09:25 +0000)
commit6e539e23964d08d584a9c16050949424d44a3601
tree1a8e35aa04613745272fa79f855dad4081915c11
parentc19d6c9f9f39c010d76effe3bbbe863ec31ee667
[multiple changes]

2004-06-25  Dan Nicolaescu  <dann@ics.uci.edu>
    Paolo Carlini  <pcarlini@suse.de>

* include/bits/stl_algobase.h (__fill, __fill_n): New helpers
for fill and fill_n, respectively: when copying is cheap, use a
temporary to avoid a memory read in each iteration.

2004-06-25  Paolo Carlini  <pcarlini@suse.de>

* testsuite/25_algorithms/fill/1.cc: New.
* testsuite/25_algorithms/fill/2.cc: Likewise.

From-SVN: r83645
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/testsuite/25_algorithms/fill/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/fill/2.cc [new file with mode: 0644]