This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] libstdc++/69105, 69106, 69114 use std::addressof
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 8 Jan 2016 13:13:56 +0000
- Subject: Re: [patch] libstdc++/69105, 69106, 69114 use std::addressof
- Authentication-results: sourceware.org; auth=none
- References: <20160107150139 dot GC30323 at redhat dot com>
On 07/01/16 15:01 +0000, Jonathan Wakely wrote:
A bumper crop of addressof bugs where I was using & but should have
used std::addressof.
This caused a regression, fixed like so.
Tested x86_64-linux, committed to trunk.
commit 8f7a4cbf1cdae97578a6b4236af532879be15e9d
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Jan 8 12:05:44 2016 +0000
Add missing include for std::__addressof
PR libstdc++/69160
* include/bits/uses_allocator.h: Add missing include.
diff --git a/libstdc++-v3/include/bits/uses_allocator.h b/libstdc++-v3/include/bits/uses_allocator.h
index b3c3f60..70ba007 100644
--- a/libstdc++-v3/include/bits/uses_allocator.h
+++ b/libstdc++-v3/include/bits/uses_allocator.h
@@ -30,6 +30,7 @@
#else
#include <type_traits>
+#include <bits/move.h>
namespace std _GLIBCXX_VISIBILITY(default)
{