Skip to content

Commit

Permalink
re PR c++/59173 (Alias template in partial specialization finds name …
Browse files Browse the repository at this point in the history
…from primary template)

	PR c++/59173
	* include/ext/pointer.h (pointer_traits<>::rebind<>): Add template
	keyword in nested name.

From-SVN: r205114
  • Loading branch information
Jonathan Wakely authored and jwakely committed Nov 20, 2013
1 parent 063d671 commit f8c370a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions libstdc++-v3/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2013-11-20 Jonathan Wakely <[email protected]>

PR c++/59173
* include/ext/pointer.h (pointer_traits<>::rebind<>): Add template
keyword in nested name.

2013-11-20 David Edelsohn <[email protected]>

* testsuite/17_intro/static.cc: Ignore AIX TOC reload warnings.
Expand Down
2 changes: 1 addition & 1 deletion libstdc++-v3/include/ext/pointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)); }
Expand Down

0 comments on commit f8c370a

Please sign in to comment.