OSDN Git Service

2009-06-16 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2009 21:24:41 +0000 (21:24 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jun 2009 21:24:41 +0000 (21:24 +0000)
commitd14dfa3dad128f5e7e51dcd24bf9612252174de4
tree1e8c161c7569e19a69714ac9053448401d320250
parentb2db647ee58fd9fad917908c67354f534be633af
2009-06-16  Jonathan Wakely  <jwakely.gcc@gmail.com>

* libsupc++/exception_ptr.h (exception_ptr::swap(exception_ptr&&)):
Remove.
(exception_ptr::operator=(exception_ptr&&)): Cast source to
rvalue-reference so that move constructor is called.
* testsuite/18_support/exception_ptr/move.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148555 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/exception_ptr.h
libstdc++-v3/testsuite/18_support/exception_ptr/move.cc [new file with mode: 0644]