[multiple changes]
authorPaolo Carlini <paolo@gcc.gnu.org>
Wed, 30 Jun 2004 09:20:18 +0000 (09:20 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 30 Jun 2004 09:20:18 +0000 (09:20 +0000)
commitbadd64ad92b21a93d38da6ce99c559fff9a0ca0e
tree47afddb5b21d4a4c5efe39325cfd9faa455b2817
parent3e1b8dc08b8dcaefa077ab8cc93c877a2b28ee32
[multiple changes]

2004-06-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>
            Paolo Carlini  <pcarlini@suse.de>

* include/bits/cpp_type_traits.h: Add __is_pointer and
__is_trivially_copyable.
* include/bits/stl_algobase.h (fill, fill_n): Slightly
tweak to use the latter.
(__copy_backward_dispatch): Remove.
(__copy_backward_aux): Rewrite to use __is_pointer and
__is_trivially_copyable and __copy_backward::copy_b.
(__copy_backward): Rewrite as a class template and two
specializations.

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

* testsuite/25_algorithms/copy.cc: Move to...
* testsuite/25_algorithms/copy/1.cc: ... here, extend.
* testsuite/25_algorithms/copy/2.cc: New.
* testsuite/25_algorithms/copy/3.cc: New.
* testsuite/25_algorithms/copy/4.cc: New.

From-SVN: r83897
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/cpp_type_traits.h
libstdc++-v3/include/bits/stl_algobase.h
libstdc++-v3/testsuite/25_algorithms/copy.cc [deleted file]
libstdc++-v3/testsuite/25_algorithms/copy/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy/4.cc [new file with mode: 0644]