This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix zero size debug array swap noexcept qualification
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 27 Jun 2016 13:46:53 +0100
- Subject: Re: Fix zero size debug array swap noexcept qualification
- Authentication-results: sourceware.org; auth=none
- References: <576C44F6 dot 608 at gmail dot com>
On 23/06/16 22:22 +0200, François Dumont wrote:
Debug mode array had simply been forgotten when fixing zero-size
swap method as part of swappable traits implementation.
* include/debug/array (array<>::swap): Fix noexcept qualificaton for
zero-size array.
Tested under Linux x86_64 debug mode.
OK for trunk, thanks.