diff options
author | Daniel Krugler <daniel.kruegler@googlemail.com> | 2011-04-16 00:55:43 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-04-16 00:55:43 +0000 |
commit | 2705a8d66edb092fa6e8b3131049c2d495e4ea21 (patch) | |
tree | 1c35995374e64e9385bcb00f7a32c670d739ce97 /gcc | |
parent | deb9642d054842041402b44d2062d8a5efa40ce0 (diff) | |
download | gcc-2705a8d66edb092fa6e8b3131049c2d495e4ea21.zip gcc-2705a8d66edb092fa6e8b3131049c2d495e4ea21.tar.gz gcc-2705a8d66edb092fa6e8b3131049c2d495e4ea21.tar.bz2 |
re PR libstdc++/48635 ([C++0x] unique_ptr<T, D&> moves the deleter instead of copying it)
2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/48635
* include/bits/unique_ptr.h (unique_ptr<>::operator=(unique_ptr&&),
unique_ptr<>::operator=(unique_ptr<>&&),
unique_ptr<_Tp[],>::operator=(unique_ptr&&),
unique_ptr<_Tp[],>::operator=(unique_ptr<>&&)): Forward the deleter
instead of moving it.
* testsuite/20_util/unique_ptr/assign/48635.cc: New.
Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r172532
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions