From 40047e6250fb5feaf8b5a48f5e43ad46fd0b6ab1 Mon Sep 17 00:00:00 2001 From: paolo Date: Sun, 22 Jun 2008 13:57:06 +0000 Subject: 2008-06-22 Paolo Carlini * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137012 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/include/bits/algorithmfwd.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3/include/bits/algorithmfwd.h') diff --git a/libstdc++-v3/include/bits/algorithmfwd.h b/libstdc++-v3/include/bits/algorithmfwd.h index 116e0b25e21..b4d2ee795ea 100644 --- a/libstdc++-v3/include/bits/algorithmfwd.h +++ b/libstdc++-v3/include/bits/algorithmfwd.h @@ -1,6 +1,6 @@ // declarations -*- C++ -*- -// Copyright (C) 2007 Free Software Foundation, Inc. +// Copyright (C) 2007, 2008 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -392,6 +392,10 @@ _GLIBCXX_BEGIN_NAMESPACE(std) void swap(_Tp&, _Tp&); + template + void + swap(_Tp (&)[_Nm], _Tp (&)[_Nm]); + template _FIter2 swap_ranges(_FIter1, _FIter1, _FIter2); -- cgit v1.2.1