move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add, per DR 809.
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 22 Jun 2008 13:57:06 +0000 (13:57 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 22 Jun 2008 13:57:06 +0000 (13:57 +0000)
commitcaa8b3c687ebe2959c5499894986e0df3d07fdb7
treeb79c3afb32eb8cd0727eed65e48fb88f1d84bf90
parent404013583b95cc5bf345667c345990b8c85e5911
move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add, per DR 809.

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

* include/bits/move.h (swap(_Tp (&)[_Nm], _Tp (&)[_Nm])): Add,
per DR 809.
* include/bits/algorithmfwd.h: Add.
* doc/xml/manual/intro.xml: Add an entry for DR 809.
* testsuite/25_algorithms/swap/dr809.cc: New.

* testsuite/25_algorithms/swap/requirements/explicit_instantiation/
2.cc: Remove stray empty line.

From-SVN: r137012
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/intro.xml
libstdc++-v3/include/bits/algorithmfwd.h
libstdc++-v3/include/bits/move.h
libstdc++-v3/testsuite/25_algorithms/swap/dr809.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/swap/requirements/explicit_instantiation/2.cc