]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/48398 ([C++0x] std::unique_ptr<T, D> is broken when D::pointer is...
authorJonathan Wakely <redi@gcc.gnu.org>
Sat, 2 Apr 2011 19:32:15 +0000 (20:32 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 2 Apr 2011 19:32:15 +0000 (20:32 +0100)
commit0569d07d16ea180369a421901402e99a915f7149
treeb5a8d1233ca0a5e1bfcd27eb5bee2fa69ddb3307
parent79455ea1f897031fc4f3d9cccd6622c6e922ba4e
re PR libstdc++/48398 ([C++0x] std::unique_ptr<T, D> is broken when D::pointer is not T*)

2011-04-02  Jonathan Wakely  <redi@gcc.gnu.org>

PR libstdc++/48398
* include/bits/unique_ptr.h (__tuple_type): Store pointer type.
* testsuite/20_util/unique_ptr/modifiers/48398.cc: New.
* testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Remove
unused parameter name.

From-SVN: r171894
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/unique_ptr.h
libstdc++-v3/testsuite/20_util/unique_ptr/modifiers/48398.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/unique_ptr/requirements/pointer_type.cc