mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-26 04:25:51 +08:00
re PR c++/59173 (Alias template in partial specialization finds name from primary template)
PR c++/59173 * include/ext/pointer.h (pointer_traits<>::rebind<>): Add template keyword in nested name. From-SVN: r205114
This commit is contained in:
parent
063d671d59
commit
f8c370af2c
@ -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.
|
||||
|
@ -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)); }
|
||||
|
Loading…
Reference in New Issue
Block a user