]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR c++/59173
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Nov 2013 13:39:33 +0000 (13:39 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Nov 2013 13:39:33 +0000 (13:39 +0000)
* include/ext/pointer.h (pointer_traits<>::rebind<>): Add template
keyword in nested name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205114 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/pointer.h

index f372d62dcbcc32535a2e0d3a18012d39762c2972..e989a0d1471d7ce46c93b0fef7cc69d2012b364e 100644 (file)
@@ -1,3 +1,9 @@
+2013-11-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR c++/59173
+       * include/ext/pointer.h (pointer_traits<>::rebind<>): Add template
+       keyword in nested name.
+
 2013-11-20  David Edelsohn  <dje.gcc@gmail.com>
 
        * testsuite/17_intro/static.cc: Ignore AIX TOC reload warnings.
index 12bc749c063edec3cc5a725f051a4314aa3e6717..d1730be07f242a7975018f57e024f9731f7e16af 100644 (file)
@@ -580,7 +580,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
       template<typename _Up>
         using rebind = typename __gnu_cxx::_Pointer_adapter<
-       typename pointer_traits<_Storage_policy>::rebind<_Up>>;
+       typename pointer_traits<_Storage_policy>::template rebind<_Up>>;
 
       static pointer pointer_to(typename pointer::reference __r) noexcept
       { return pointer(std::addressof(__r)); }