stl_algo.h (copy_n): Add in C++0x mode.
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 29 Jun 2008 11:08:26 +0000 (11:08 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 29 Jun 2008 11:08:26 +0000 (11:08 +0000)
commitb03717765d0d62af54bdb3112ac90ca6d7dd7c75
treeec2900173d09b74441a6e8de7b2c0420c8765de3
parent7dfab247a1147b532dbf4934e88c36f296cd42da
stl_algo.h (copy_n): Add in C++0x mode.

2008-06-29  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_algo.h (copy_n): Add in C++0x mode.
* include/bits/algorithmfwd.h: Add.
* include/bits/stl_uninitialized.h (uninitialized_copy_n): Add
in C++0x mode.
* testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
move_iterators/1.cc: New
* testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update.
* testsuite/25_algorithms/copy_n/1.cc: New.
* testsuite/25_algorithms/copy_n/2.cc: Likewise.
* testsuite/25_algorithms/copy_n/3.cc: Likewise.
* testsuite/25_algorithms/copy_n/4.cc: Likewise.
* testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise.
* testsuite/25_algorithms/copy_n/requirements/
explicit_instantiation/2.cc: Likewise.
* testsuite/25_algorithms/partition_point/requirements/
explicit_instantiation/pod.cc: Likewise.

From-SVN: r137251
13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/algorithmfwd.h
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/include/bits/stl_uninitialized.h
libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/move_iterators/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_n/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_n/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_n/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_n/move_iterators/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/copy_n/requirements/explicit_instantiation/pod.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/headers/algorithm/synopsis.cc