While trying some header rearrangment I noticed that this file should
include <bits/move.h> for addressof.

Tested powerpc64le-linux, committing to trunk.
commit 223119133ca91452b3e9979a2f1eeb4554210d12
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Tue Aug 18 13:03:40 2015 +0100

    	* include/bits/ptr_traits.h: Include <bits/move.h> for addressof.

diff --git a/libstdc++-v3/include/bits/ptr_traits.h b/libstdc++-v3/include/bits/ptr_traits.h
index 84cc4da..d1bc449 100644
--- a/libstdc++-v3/include/bits/ptr_traits.h
+++ b/libstdc++-v3/include/bits/ptr_traits.h
@@ -32,7 +32,7 @@
 
 #if __cplusplus >= 201103L
 
-#include <type_traits>
+#include <bits/move.h>
 
 namespace std _GLIBCXX_VISIBILITY(default)
 {

Reply via email to